janitor: manual cargo clippy fixes

Semi-random selection of clippy topics that were
uncontroversial before:-).

Leaves about 84 deduplicated issues in the code base
according to clippy from nightly.
This commit is contained in:
Tobias Hunger 2024-03-12 13:03:56 +01:00 committed by Tobias Hunger
parent 77c85aa703
commit 28b96ca6f6
25 changed files with 57 additions and 71 deletions

View file

@ -156,7 +156,7 @@ impl SourceFileInner {
}
pub fn version(&self) -> SourceFileVersion {
self.version.clone()
self.version
}
}