From 289a31ba45c28a6d8d5eb681f7e1c83a23cdb673 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Fri, 25 Aug 2023 16:14:58 +0200 Subject: [PATCH] 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 --- src/bindgen/bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindgen/bindings.rs b/src/bindgen/bindings.rs index cdacdad..410b11f 100644 --- a/src/bindgen/bindings.rs +++ b/src/bindgen/bindings.rs @@ -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.