diff --git a/resource/src/resource/_struct.rs b/resource/src/resource/_struct.rs index e7b255c..7ec254c 100644 --- a/resource/src/resource/_struct.rs +++ b/resource/src/resource/_struct.rs @@ -601,7 +601,7 @@ impl Clone for Resource { } } -pub fn to_iri>(iri_ref: IriRef) -> Result, IriRef>> { +pub(crate) fn to_iri>(iri_ref: IriRef) -> Result, IriRef>> { if is_absolute_iri_ref(iri_ref.as_str()) { Ok(Iri::new_unchecked(iri_ref.unwrap())) } else {