From 25acefeb5b0cf0977ad01fe3128d494d9617a2cf Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 22 Mar 2023 16:02:51 +0800 Subject: Fix typos (#115) Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant` --- tests/src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src') diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 07312c5c..12f1ecdc 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -35,7 +35,7 @@ fn main() { let args = Args::new(env::args().skip(1)); let mut filtered = Vec::new(); - // Since differents tests can affect each other through the memoization + // Since different tests can affect each other through the memoization // cache, a deterministic order is important for reproducibility. for entry in WalkDir::new("typ").sort_by_file_name() { let entry = entry.unwrap(); @@ -554,7 +554,7 @@ fn print_error(source: &Source, line: usize, (range, message): &(Range, S /// same result as a clean parse. /// /// The method will first inject 10 strings once every 400 source characters -/// and then select 5 leaf node boundries to inject an additional, randomly +/// and then select 5 leaf node boundaries to inject an additional, randomly /// chosen string from the injection list. fn test_reparse(text: &str, i: usize, rng: &mut LinearShift) -> bool { let supplements = [ -- cgit v1.2.3