Skip to content

Commit

Permalink
crate revert
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatychev authored and pchampin committed Oct 15, 2024
1 parent 1b65bb5 commit 48c8462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/src/resource/_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ impl<G, L> Clone for Resource<G, L> {
}
}

pub fn to_iri<T: Borrow<str>>(iri_ref: IriRef<T>) -> Result<Iri<T>, IriRef<Box<str>>> {
pub(crate) fn to_iri<T: Borrow<str>>(iri_ref: IriRef<T>) -> Result<Iri<T>, IriRef<Box<str>>> {
if is_absolute_iri_ref(iri_ref.as_str()) {
Ok(Iri::new_unchecked(iri_ref.unwrap()))
} else {
Expand Down

0 comments on commit 48c8462

Please sign in to comment.