Skip to content

Commit

Permalink
Remove useless into_iter as clippy suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Sep 8, 2023
1 parent 88af139 commit 77f0004
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/config/src/load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ impl SourcesLoadingErrors {

/// Iterate over all of the errors.
pub fn all(self) -> impl Iterator<Item = LoadingError> {
self.manifest_urls
.into_iter()
.chain(self.repo_urls.into_iter())
self.manifest_urls.into_iter().chain(self.repo_urls)
}
}

Expand Down

0 comments on commit 77f0004

Please sign in to comment.