Skip to content

Commit

Permalink
Fix redundantly given type module
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 7, 2024
1 parent 44fccb1 commit 4c4de35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exml.erl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ to_pretty_iolist(Element) ->
to_iolist(Element, pretty).

%% @doc Parses a binary or a list of binaries into an XML `t:element()'.
-spec parse(binary() | [binary()]) -> {ok, exml:element()} | {error, any()}.
-spec parse(binary() | [binary()]) -> {ok, element()} | {error, any()}.
parse(XML) ->
exml_nif:parse(XML).

Expand Down

0 comments on commit 4c4de35

Please sign in to comment.