From d52622e0183f673246295840697cbe433887b365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 11 Oct 2019 16:25:37 +0200 Subject: [PATCH] bindgen-integration: Reformat crate too. Cleanup a bit the reformatted bits while at it. --- bindgen-integration/build.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bindgen-integration/build.rs b/bindgen-integration/build.rs index d9be232ba7..38c5849776 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!(