Skip to content

Commit d52622e

Browse files
committed
bindgen-integration: Reformat crate too.
Cleanup a bit the reformatted bits while at it.
1 parent a38c046 commit d52622e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindgen-integration/build.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ impl ParseCallbacks for MacroCallback {
4444
}
4545

4646
fn str_macro(&self, name: &str, value: &[u8]) {
47-
match &name {
48-
&"TESTMACRO_STRING_EXPANDED"
49-
| &"TESTMACRO_STRING"
50-
| &"TESTMACRO_INTEGER" => {
47+
match name {
48+
"TESTMACRO_STRING_EXPANDED" |
49+
"TESTMACRO_STRING" |
50+
"TESTMACRO_INTEGER" => {
5151
// The integer test macro is, actually, not expected to show up here at all -- but
5252
// should produce an error if it does.
5353
assert_eq!(

0 commit comments

Comments
 (0)