Skip to content

Commit

Permalink
Fix type spec of RDF.List.new/2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotto committed Nov 11, 2024
1 parent d824a49 commit c3bf5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdf/model/list.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ defmodule RDF.List do
- does not contain cycles, i.e. `rdf:rest` statements don't refer to
preceding list nodes
"""
@spec new(IRI.coercible(), Graph.t()) :: t
@spec new(IRI.coercible(), Graph.t()) :: t | nil
def new(head, graph)

def new(head, graph) when maybe_ns_term(head),
Expand Down

0 comments on commit c3bf5fe

Please sign in to comment.