Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(clippy): fix clippy warnings #334

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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> {
@@ -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> {
@@ -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> {
@@ -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> {
2 changes: 1 addition & 1 deletion api/src/resources/source.rs
Original file line number Diff line number Diff line change
@@ -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())
}
Loading