Skip to content

Commit 785d0ad

Browse files
committed
fix clippy issues
1 parent c52e575 commit 785d0ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindgen/ir/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2105,13 +2105,13 @@ If you encounter an error missing from this list, please file an issue or a PR!"
21052105
pch.clone().into_boxed_str(),
21062106
];
21072107
let mut skip_next = false;
2108-
for arg in self.options.fallback_clang_args.iter() {
2108+
for arg in &self.options.fallback_clang_args {
21092109
if arg.as_ref() == "-include" {
21102110
skip_next = true;
21112111
} else if skip_next {
21122112
skip_next = false;
21132113
} else {
2114-
c_args.push(arg.clone())
2114+
c_args.push(arg.clone());
21152115
}
21162116
}
21172117
self.fallback_tu =

0 commit comments

Comments
 (0)