diff --git a/src/base.rs b/src/base.rs index cca27af..8447e88 100644 --- a/src/base.rs +++ b/src/base.rs @@ -256,7 +256,7 @@ pub trait BaseExt: AsBase { /// # Ok(()) /// # } /// ``` - fn check_authority<'a, T: AsRef>(&self, iri: T) -> Result { + fn check_authority>(&self, iri: T) -> Result { let authority = self .id_unchecked() .and_then(|id| id.authority_components()) diff --git a/src/checked.rs b/src/checked.rs index 96b4f58..8ec21ee 100644 --- a/src/checked.rs +++ b/src/checked.rs @@ -11,7 +11,7 @@ impl std::fmt::Display for CheckError { impl std::error::Error for CheckError {} -pub(crate) fn check<'a, T: AsRef>( +pub(crate) fn check>( iri: T, host: &str, port: Option<&str>,