diff options
author | Christian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com> | 2022-11-24 10:50:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 10:50:15 -0500 |
commit | 73f33e5a0288f4030e1e4389db0d9bfca1d69d2d (patch) | |
tree | b45e94509f5b617d322cd699cb2933ace24f8b99 /bindgen/lib.rs | |
parent | 6e5a666507bb5f4611dc31ca2e11e73cb5ffdbd1 (diff) |
Fix clippy warnings (#2362)
Diffstat (limited to 'bindgen/lib.rs')
-rw-r--r-- | bindgen/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/lib.rs b/bindgen/lib.rs index 4b71fb97..4402dfc7 100644 --- a/bindgen/lib.rs +++ b/bindgen/lib.rs @@ -1605,7 +1605,7 @@ impl Builder { // For each input header content, add a prefix line of `#line 0 "$name"` // followed by the contents. - for &(ref name, ref contents) in &self.options.input_header_contents { + for (name, contents) in &self.options.input_header_contents { is_cpp |= file_is_cpp(name); wrapper_contents.push_str("#line 0 \""); |