Skip to content

Commit

Permalink
chore(clippy): fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Dec 11, 2024
1 parent 6c17c79 commit 4883ebe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ impl<'a> DatasetQueryIter<'a> {
}
}

impl<'a> Iterator for DatasetQueryIter<'a> {
impl Iterator for DatasetQueryIter<'_> {
type Item = Result<Vec<AnnotatedComment>>;

fn next(&mut self) -> Option<Self::Item> {
Expand Down Expand Up @@ -1624,7 +1624,7 @@ impl<'a> EmailsIter<'a> {
}
}

impl<'a> Iterator for EmailsIter<'a> {
impl Iterator for EmailsIter<'_> {
type Item = Result<Vec<Email>>;

fn next(&mut self) -> Option<Self::Item> {
Expand Down Expand Up @@ -1682,7 +1682,7 @@ impl<'a> CommentsIter<'a> {
}
}

impl<'a> Iterator for CommentsIter<'a> {
impl Iterator for CommentsIter<'_> {
type Item = Result<Vec<Comment>>;

fn next(&mut self) -> Option<Self::Item> {
Expand Down Expand Up @@ -1733,7 +1733,7 @@ impl<'a> LabellingsIter<'a> {
}
}

impl<'a> Iterator for LabellingsIter<'a> {
impl Iterator for LabellingsIter<'_> {
type Item = Result<Vec<AnnotatedComment>>;

fn next(&mut self) -> Option<Self::Item> {
Expand Down
2 changes: 1 addition & 1 deletion api/src/resources/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl From<FullName> for Identifier {
}
}

impl<'a> From<&'a Source> for Identifier {
impl From<&Source> for Identifier {
fn from(source: &Source) -> Self {
Identifier::FullName(source.full_name())
}
Expand Down

0 comments on commit 4883ebe

Please sign in to comment.