File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ impl ParseCallbacks for MacroCallback {
4444 assert_eq ! ( value, b"string" ) ;
4545 * self . seen_hellos . lock ( ) . unwrap ( ) += 1 ;
4646 }
47- "TESTMACRO_STRING_EXPANDED"
48- | "TESTMACRO_STRING"
49- | "TESTMACRO_INTEGER" => {
47+ "TESTMACRO_STRING_EXPANDED" |
48+ "TESTMACRO_STRING" |
49+ "TESTMACRO_INTEGER" => {
5050 // The integer test macro is, actually, not expected to show up here at all -- but
5151 // should produce an error if it does.
5252 assert_eq ! (
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ pub trait ParseCallbacks: fmt::Debug {
5252 }
5353
5454 /// Modify the contents of a macro
55- fn modify_macro ( & self , _name : & str , _tokens : & mut Vec < Token > ) {
56- }
55+ fn modify_macro ( & self , _name : & str , _tokens : & mut Vec < Token > ) { }
5756
5857 /// The integer kind an integer macro should have, given a name and the
5958 /// value of that macro, or `None` if you want the default to be chosen.
You can’t perform that action at this time.
0 commit comments