Skip to content

Commit

Permalink
bindgen-integration: Reformat crate too.
Browse files Browse the repository at this point in the history
Cleanup a bit the reformatted bits while at it.
  • Loading branch information
emilio committed Oct 14, 2019
1 parent a38c046 commit d52622e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bindgen-integration/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit d52622e

Please sign in to comment.