diff --git a/api/src/lib.rs b/api/src/lib.rs index ad091ae..de0a21b 100644 --- a/api/src/lib.rs +++ b/api/src/lib.rs @@ -1577,7 +1577,7 @@ impl<'a> DatasetQueryIter<'a> { } } -impl<'a> Iterator for DatasetQueryIter<'a> { +impl Iterator for DatasetQueryIter<'_> { type Item = Result>; fn next(&mut self) -> Option { @@ -1624,7 +1624,7 @@ impl<'a> EmailsIter<'a> { } } -impl<'a> Iterator for EmailsIter<'a> { +impl Iterator for EmailsIter<'_> { type Item = Result>; fn next(&mut self) -> Option { @@ -1682,7 +1682,7 @@ impl<'a> CommentsIter<'a> { } } -impl<'a> Iterator for CommentsIter<'a> { +impl Iterator for CommentsIter<'_> { type Item = Result>; fn next(&mut self) -> Option { @@ -1733,7 +1733,7 @@ impl<'a> LabellingsIter<'a> { } } -impl<'a> Iterator for LabellingsIter<'a> { +impl Iterator for LabellingsIter<'_> { type Item = Result>; fn next(&mut self) -> Option { diff --git a/api/src/resources/source.rs b/api/src/resources/source.rs index 14cda5a..7793bc3 100644 --- a/api/src/resources/source.rs +++ b/api/src/resources/source.rs @@ -97,7 +97,7 @@ impl From for Identifier { } } -impl<'a> From<&'a Source> for Identifier { +impl From<&Source> for Identifier { fn from(source: &Source) -> Self { Identifier::FullName(source.full_name()) }