diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-10-11 16:25:37 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-10-14 14:15:46 +0200 |
commit | d52622e0183f673246295840697cbe433887b365 (patch) | |
tree | ae592f715d7b23b52678dceae85833745db6b206 | |
parent | a38c046a0604212875e7b7321db212118d99c22d (diff) |
bindgen-integration: Reformat crate too.
Cleanup a bit the reformatted bits while at it.
-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!( |