Skip to content

Commit 01e9352

Browse files
committed
Fix typespec
1 parent 9b1f808 commit 01e9352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sassone/xml.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ defmodule Sassone.XML do
9595
do: {:processing_instruction, name, Encoder.encode(instruction)}
9696

9797
@doc "Builds a struct deriving `Sassone.Builder` for encoding with `Sassone.encode!/2`"
98-
@spec build(Builder.t(), name()) :: element()
98+
@spec build(Builder.t(), namespace() | nil, name()) :: element()
9999
def build(struct, namespace \\ nil, element_name) do
100100
attributes =
101101
Builder.attributes(struct)

0 commit comments

Comments
 (0)