Fix clippy warning
Rust 1.72 added a new warning, which should have been ignored by clippy, since clippy.toml is still st to 1.57.0
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
67fea1a1a2
commit
289a31ba45
@@ -141,7 +141,7 @@ impl Bindings {
|
|||||||
let mut canon_source_files: Vec<_> = self
|
let mut canon_source_files: Vec<_> = self
|
||||||
.source_files
|
.source_files
|
||||||
.iter()
|
.iter()
|
||||||
.chain(self.config.config_path.as_ref().into_iter())
|
.chain(self.config.config_path.as_ref())
|
||||||
.map(|p| p.canonicalize().unwrap())
|
.map(|p| p.canonicalize().unwrap())
|
||||||
.collect();
|
.collect();
|
||||||
// Sorting makes testing easier by ensuring the output is ordered.
|
// Sorting makes testing easier by ensuring the output is ordered.
|
||||||
|
|||||||
Reference in New Issue
Block a user