diff --git a/lib/oxrdf/src/triple.rs b/lib/oxrdf/src/triple.rs index e9fab7b7..184c3edb 100644 --- a/lib/oxrdf/src/triple.rs +++ b/lib/oxrdf/src/triple.rs @@ -764,10 +764,8 @@ impl Triple { predicate: impl Into, object: impl Into, ) -> Result { - let subject: Result = - TryInto::::try_into(subject.into()); - let predicate: Result = - TryInto::::try_into(predicate.into()); + let subject: Result = subject.into().try_into(); + let predicate: Result = predicate.into().try_into(); if let (Ok(subject), Ok(predicate)) = (subject.clone(), predicate.clone()) { Ok(Self { subject,