Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/mbe/src/benchmark.rs')
-rw-r--r--crates/mbe/src/benchmark.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mbe/src/benchmark.rs b/crates/mbe/src/benchmark.rs
index 894355fcbc..141f77abb8 100644
--- a/crates/mbe/src/benchmark.rs
+++ b/crates/mbe/src/benchmark.rs
@@ -108,7 +108,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, DeclarativeMacro>) -> Vec<(Stri
}
try_cnt += 1;
if try_cnt > 100 {
- panic!("invocaton fixture {name} cannot be generated.\n");
+ panic!("invocation fixture {name} cannot be generated.\n");
}
}
}
@@ -195,7 +195,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, DeclarativeMacro>) -> Vec<(Stri
Op::Ignore { .. } | Op::Index { .. } => {}
};
- // Simple linear congruential generator for determistic result
+ // Simple linear congruential generator for deterministic result
fn rand(seed: &mut usize) -> usize {
let a = 1664525;
let c = 1013904223;