This commit is contained in:
Aode (Lion) 2022-01-17 14:13:14 -06:00
parent 17a09e4fbe
commit 0dfb92005c
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ pub trait BaseExt<Kind>: AsBase<Kind> {
/// # Ok(()) /// # Ok(())
/// # } /// # }
/// ``` /// ```
fn check_authority<'a, T: AsRef<IriStr>>(&self, iri: T) -> Result<T, CheckError> { fn check_authority<T: AsRef<IriStr>>(&self, iri: T) -> Result<T, CheckError> {
let authority = self let authority = self
.id_unchecked() .id_unchecked()
.and_then(|id| id.authority_components()) .and_then(|id| id.authority_components())

View file

@ -11,7 +11,7 @@ impl std::fmt::Display for CheckError {
impl std::error::Error for CheckError {} impl std::error::Error for CheckError {}
pub(crate) fn check<'a, T: AsRef<IriStr>>( pub(crate) fn check<T: AsRef<IriStr>>(
iri: T, iri: T,
host: &str, host: &str,
port: Option<&str>, port: Option<&str>,