chore: remove redundant words in comment

Signed-off-by: liangmulu <liangmulu@outlook.com>
This commit is contained in:
liangmulu 2025-07-09 14:15:32 +08:00 committed by Christian Clason
parent 01d8a39c0b
commit 81849352fc
2 changed files with 2 additions and 2 deletions

View file

@ -255,7 +255,7 @@ struct Test {
/// Only run corpus test cases whose name does not match the given regex
#[arg(long, short)]
pub exclude: Option<Regex>,
/// Only run corpus test cases from from a given filename
/// Only run corpus test cases from a given filename
#[arg(long)]
pub file_name: Option<String>,
/// The path to the tree-sitter grammar directory

View file

@ -81,7 +81,7 @@ impl<'a> ParseItemSetBuilder<'a> {
.insert(symbol, ReservedWordSetId::default());
}
// The FIRST set of a non-terminal `i` is the union of the the FIRST sets
// The FIRST set of a non-terminal `i` is the union of the FIRST sets
// of all the symbols that appear at the beginnings of i's productions. Some
// of these symbols may themselves be non-terminals, so this is a recursive
// definition.