File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,22 +80,22 @@ xml_sort(Elements) when is_list(Elements) ->
80
80
lists :sort ([ xml_sort (E ) || E <- Elements ]).
81
81
82
82
% % @equiv erlang:binary_to_list(to_binary(Element))
83
- -spec to_list (element () | [exml_stream :element ()]) -> string ().
83
+ -spec to_list (exml_stream : element () | [exml_stream :element ()]) -> string ().
84
84
to_list (Element ) ->
85
85
binary_to_list (to_binary (Element )).
86
86
87
87
% % @equiv erlang:iolist_to_binary(to_iolist(Element, not_pretty))
88
- -spec to_binary (element () | [exml_stream :element ()]) -> binary ().
88
+ -spec to_binary (exml_stream : element () | [exml_stream :element ()]) -> binary ().
89
89
to_binary (Element ) ->
90
90
iolist_to_binary (to_iolist (Element , not_pretty )).
91
91
92
92
% % @equiv to_iolist(Element, not_pretty)
93
- -spec to_iolist (element () | [exml_stream :element ()]) -> iodata ().
93
+ -spec to_iolist (exml_stream : element () | [exml_stream :element ()]) -> iodata ().
94
94
to_iolist (Element ) ->
95
95
to_iolist (Element , not_pretty ).
96
96
97
97
% % @equiv to_iolist(Element, pretty)
98
- -spec to_pretty_iolist (element () | [exml_stream :element ()]) -> iodata ().
98
+ -spec to_pretty_iolist (exml_stream : element () | [exml_stream :element ()]) -> iodata ().
99
99
to_pretty_iolist (Element ) ->
100
100
to_iolist (Element , pretty ).
101
101
You can’t perform that action at this time.
0 commit comments