Skip to content

Commit 900d649

Browse files
authored
Fix typespec of LazyHTML.attributes (#27)
1 parent ab877f2 commit 900d649

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/lazy_html.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ defmodule LazyHTML do
496496
]
497497
498498
'''
499-
@spec attributes(t()) :: list({String.t(), String.t()})
499+
@spec attributes(t()) :: list(list({String.t(), String.t()}))
500500
def attributes(%LazyHTML{} = lazy_html) do
501501
LazyHTML.NIF.attributes(lazy_html)
502502
end

0 commit comments

Comments
 (0)