Skip to content

Commit 8777ea8

Browse files
nyurikemilio
authored andcommitted
fix clippy issues
1 parent 9315a49 commit 8777ea8

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
@@ -2108,13 +2108,13 @@ If you encounter an error missing from this list, please file an issue or a PR!"
21082108
pch.clone().into_boxed_str(),
21092109
];
21102110
let mut skip_next = false;
2111-
for arg in self.options.fallback_clang_args.iter() {
2111+
for arg in &self.options.fallback_clang_args {
21122112
if arg.as_ref() == "-include" {
21132113
skip_next = true;
21142114
} else if skip_next {
21152115
skip_next = false;
21162116
} else {
2117-
c_args.push(arg.clone())
2117+
c_args.push(arg.clone());
21182118
}
21192119
}
21202120
self.fallback_tu =

0 commit comments

Comments
 (0)