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 {
44
44
assert_eq ! ( value, b"string" ) ;
45
45
* self . seen_hellos . lock ( ) . unwrap ( ) += 1 ;
46
46
}
47
- "TESTMACRO_STRING_EXPANDED"
48
- | "TESTMACRO_STRING"
49
- | "TESTMACRO_INTEGER" => {
47
+ "TESTMACRO_STRING_EXPANDED" |
48
+ "TESTMACRO_STRING" |
49
+ "TESTMACRO_INTEGER" => {
50
50
// The integer test macro is, actually, not expected to show up here at all -- but
51
51
// should produce an error if it does.
52
52
assert_eq ! (
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ pub trait ParseCallbacks: fmt::Debug {
52
52
}
53
53
54
54
/// 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 > ) { }
57
56
58
57
/// The integer kind an integer macro should have, given a name and the
59
58
/// 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