summaryrefslogtreecommitdiff
path: root/bindgen/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/lib.rs')
-rw-r--r--bindgen/lib.rs2
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 \"");