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:
Jonathan Schwender
2023-08-25 16:14:58 +02:00
committed by Emilio Cobos Álvarez
parent 67fea1a1a2
commit 289a31ba45
+1 -1
View File
@@ -141,7 +141,7 @@ impl Bindings {
let mut canon_source_files: Vec<_> = self
.source_files
.iter()
.chain(self.config.config_path.as_ref().into_iter())
.chain(self.config.config_path.as_ref())
.map(|p| p.canonicalize().unwrap())
.collect();
// Sorting makes testing easier by ensuring the output is ordered.