Skip to content

Commit 401ad29

Browse files
Merge pull request #4 from sax/fix-list-typespec
Fix spec for attrs() to allow lists of tuples
2 parents 5eb86fc + f4edbd5 commit 401ad29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/xml_stream.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule XmlStream do
3131
Could be either `Keyword` or `map`. Order of the attributes are
3232
preserved in case of `Keyword`
3333
"""
34-
@type attrs :: map | Keyword.t() | [{:binary, :binary}]
34+
@type attrs :: map | Keyword.t() | [{binary(), binary()}]
3535
@type fragment :: [tuple | fragment]
3636

3737
@typedoc """

0 commit comments

Comments
 (0)