Skip to content

Commit

Permalink
crate revert
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatychev committed Oct 8, 2024
1 parent 0e58ee5 commit b8fcaa9
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 b8fcaa9

Please sign in to comment.