diff options
Diffstat (limited to 'crates/mbe/src/benchmark.rs')
-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 13db5eef1..503ad1355 100644 --- a/crates/mbe/src/benchmark.rs +++ b/crates/mbe/src/benchmark.rs | |||
@@ -191,7 +191,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, MacroRules>) -> Vec<(String, tt | |||
191 | let c = 1013904223; | 191 | let c = 1013904223; |
192 | *seed = usize::wrapping_add(usize::wrapping_mul(*seed, a), c); | 192 | *seed = usize::wrapping_add(usize::wrapping_mul(*seed, a), c); |
193 | return *seed; | 193 | return *seed; |
194 | }; | 194 | } |
195 | fn make_ident(ident: &str) -> tt::TokenTree { | 195 | fn make_ident(ident: &str) -> tt::TokenTree { |
196 | tt::Leaf::Ident(tt::Ident { id: tt::TokenId::unspecified(), text: SmolStr::new(ident) }) | 196 | tt::Leaf::Ident(tt::Ident { id: tt::TokenId::unspecified(), text: SmolStr::new(ident) }) |
197 | .into() | 197 | .into() |