Skip to content

Commit

Permalink
Fix explicit_into_iter_loop lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored and emilio committed Feb 2, 2025
1 parent a3f877b commit 43071a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
explicit_into_iter_loop = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
Expand Down
2 changes: 1 addition & 1 deletion bindgen/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ impl Bindings {
};

if let Some(search_paths) = search_paths {
for path in search_paths.into_iter() {
for path in search_paths {
if let Ok(path) = path.into_os_string().into_string() {
options.clang_args.push("-isystem".into());
options.clang_args.push(path.into_boxed_str());
Expand Down

0 comments on commit 43071a1

Please sign in to comment.