diff options
-rw-r--r-- | crates/mbe/src/benchmark.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mbe/src/benchmark.rs b/crates/mbe/src/benchmark.rs index 0d0acd589..6d81be880 100644 --- a/crates/mbe/src/benchmark.rs +++ b/crates/mbe/src/benchmark.rs | |||
@@ -177,7 +177,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, MacroRules>) -> Vec<(String, tt | |||
177 | let c = 1013904223; | 177 | let c = 1013904223; |
178 | *seed = usize::wrapping_add(usize::wrapping_mul(*seed, a), c); | 178 | *seed = usize::wrapping_add(usize::wrapping_mul(*seed, a), c); |
179 | return *seed; | 179 | return *seed; |
180 | }; | 180 | } |
181 | fn make_ident(ident: &str) -> tt::TokenTree { | 181 | fn make_ident(ident: &str) -> tt::TokenTree { |
182 | tt::Leaf::Ident(tt::Ident { id: tt::TokenId::unspecified(), text: SmolStr::new(ident) }) | 182 | tt::Leaf::Ident(tt::Ident { id: tt::TokenId::unspecified(), text: SmolStr::new(ident) }) |
183 | .into() | 183 | .into() |