diff options
-rw-r--r-- | bindgen-integration/build.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bindgen-integration/build.rs b/bindgen-integration/build.rs index d9be232b..38c58497 100644 --- a/bindgen-integration/build.rs +++ b/bindgen-integration/build.rs @@ -44,10 +44,10 @@ impl ParseCallbacks for MacroCallback { } fn str_macro(&self, name: &str, value: &[u8]) { - match &name { - &"TESTMACRO_STRING_EXPANDED" - | &"TESTMACRO_STRING" - | &"TESTMACRO_INTEGER" => { + match name { + "TESTMACRO_STRING_EXPANDED" | + "TESTMACRO_STRING" | + "TESTMACRO_INTEGER" => { // The integer test macro is, actually, not expected to show up here at all -- but // should produce an error if it does. assert_eq!( |