mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-24 21:01:00 +00:00
Clippy
This commit is contained in:
parent
17a09e4fbe
commit
0dfb92005c
2 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@ pub trait BaseExt<Kind>: AsBase<Kind> {
|
|||
/// # 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
|
||||
.id_unchecked()
|
||||
.and_then(|id| id.authority_components())
|
||||
|
|
|
@ -11,7 +11,7 @@ impl std::fmt::Display 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,
|
||||
host: &str,
|
||||
port: Option<&str>,
|
||||
|
|
Loading…
Reference in a new issue