We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a38c046 commit d52622eCopy full SHA for d52622e
bindgen-integration/build.rs
@@ -44,10 +44,10 @@ impl ParseCallbacks for MacroCallback {
44
}
45
46
fn str_macro(&self, name: &str, value: &[u8]) {
47
- match &name {
48
- &"TESTMACRO_STRING_EXPANDED"
49
- | &"TESTMACRO_STRING"
50
- | &"TESTMACRO_INTEGER" => {
+ match name {
+ "TESTMACRO_STRING_EXPANDED" |
+ "TESTMACRO_STRING" |
+ "TESTMACRO_INTEGER" => {
51
// The integer test macro is, actually, not expected to show up here at all -- but
52
// should produce an error if it does.
53
assert_eq!(
0 commit comments