We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b1f808 commit 01e9352Copy full SHA for 01e9352
lib/sassone/xml.ex
@@ -95,7 +95,7 @@ defmodule Sassone.XML do
95
do: {:processing_instruction, name, Encoder.encode(instruction)}
96
97
@doc "Builds a struct deriving `Sassone.Builder` for encoding with `Sassone.encode!/2`"
98
- @spec build(Builder.t(), name()) :: element()
+ @spec build(Builder.t(), namespace() | nil, name()) :: element()
99
def build(struct, namespace \\ nil, element_name) do
100
attributes =
101
Builder.attributes(struct)
0 commit comments