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 committed Jan 29, 2025
1 parent b7c7964 commit 279102d
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 @@ -59,7 +59,6 @@ cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
default_trait_access = "allow"
explicit_into_iter_loop = "allow"
flat_map_option = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
Expand Down
2 changes: 1 addition & 1 deletion bindgen/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,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 279102d

Please sign in to comment.