core: fix doctest

This commit is contained in:
Marcel Otto 2017-05-19 18:08:59 +02:00
parent 229f42ee3c
commit e9820ab554

View file

@ -91,7 +91,7 @@ defmodule RDF do
## Examples
iex> RDF.bnode(:foo)
%RDF.BlankNode{id: :foo}
%RDF.BlankNode{id: "foo"}
"""
def bnode(id), do: BlankNode.new(id)