/// Resolve the data type's IRI if it is relative.
///
/// Note that this only affects datatyped literals;
/// language-tagged literals are absolute by construction.
///
/// # Performance
///
/// May allocate an intermediate IRI if `other.dt()` is suffixed.
Resolve the data type's IRI if it is relative.
Note that this only affects datatyped literals;
language-tagged literals are absolute by construction.
Resolve the data type ' s IRI if it is relative . Note that this only affects datatyped literals ; language - tagged literals are absolute by construction .
fn resolve(&self, other: &'a Literal<TD>) -> Literal<MownStr<'a>> {
        if other.is_absolute() {
            other.clone_into()
        } else {
            Literal::new_dt(other.txt().as_ref(), self.resolve(other.dt()))
        }
    }
fn resolve ( & self , other : & ' a Literal < TD > ) -> Literal < MownStr < ' a > > { if other . is_absolute ( ) { other . clone_into ( ) } else { Literal :: new_dt ( other . txt ( ) . as_ref ( ) , self . resolve ( other . dt ( ) ) ) } }
Resolve the data type's IRI if it is relative.
Resolve the data type ' s IRI if it is relative .
&self
other
&'a Literal<TD>
performance
May allocate an intermediate IRI if `other.dt()` is suffixed.
May allocate an intermediate IRI if ` other . dt () ` is suffixed .