Skip to content

Commit 279102d

Browse files
committed
Fix explicit_into_iter_loop lint
1 parent b7c7964 commit 279102d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ cast_precision_loss = "allow"
5959
cast_sign_loss = "allow"
6060
checked_conversions = "allow"
6161
default_trait_access = "allow"
62-
explicit_into_iter_loop = "allow"
6362
flat_map_option = "allow"
6463
ignored_unit_patterns = "allow"
6564
implicit_hasher = "allow"

bindgen/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ impl Bindings {
837837
};
838838

839839
if let Some(search_paths) = search_paths {
840-
for path in search_paths.into_iter() {
840+
for path in search_paths {
841841
if let Ok(path) = path.into_os_string().into_string() {
842842
options.clang_args.push("-isystem".into());
843843
options.clang_args.push(path.into_boxed_str());

0 commit comments

Comments
 (0)