Skip to content

Commit

Permalink
no need to clone
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Jan 27, 2024
1 parent 07df8d6 commit 8ceb328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-rdfa/src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl Node<'_> {
fn as_ntriple_string(&self, well_known_prefix: Option<&str>) -> String {
match self {
Node::Iri(iri) | Node::TermIri(iri) => format!("<{}>", iri),
Node::Ref(iri) => iri.as_ntriple_string(well_known_prefix).to_string(),
Node::Ref(iri) => iri.as_ntriple_string(well_known_prefix),
Node::Literal(Literal {
datatype,
lang,
Expand Down

0 comments on commit 8ceb328

Please sign in to comment.