Skip to content

Commit

Permalink
Add missing specs in xmerl.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaka27 committed Feb 13, 2025
1 parent c982e83 commit c0b961f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/xmerl/src/xmerl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ export(Content, Callbacks, RootAttrs) when is_list(Callbacks) ->


-doc(#{equiv => export_simple(Content, Callback, [])}).
-spec export_simple(Content, Callback) ->
ExportedFormat :: term() when
Content :: [Element],
Element :: simple_element(),
Callback :: callback().
export_simple(Content, Callback) ->
export_simple(Content, Callback, []).

Expand Down

0 comments on commit c0b961f

Please sign in to comment.