Auto merge of #100707 - dzvon:fix-typo, r=davidtwco
Fix a bunch of typo This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos
This commit is contained in:
commit
b32223fec1
140 changed files with 171 additions and 171 deletions
|
@ -430,7 +430,7 @@ impl TtParser {
|
|||
}
|
||||
}
|
||||
MatcherLoc::Delimited => {
|
||||
// Entering the delimeter is trivial.
|
||||
// Entering the delimiter is trivial.
|
||||
mp.idx += 1;
|
||||
self.cur_mps.push(mp);
|
||||
}
|
||||
|
|
|
@ -976,7 +976,7 @@ impl<'tt> TokenSet<'tt> {
|
|||
self.maybe_empty = false;
|
||||
}
|
||||
|
||||
// Adds `tok` to the set for `self`, marking sequence as non-empy.
|
||||
// Adds `tok` to the set for `self`, marking sequence as non-empty.
|
||||
fn add_one(&mut self, tt: TtHandle<'tt>) {
|
||||
if !self.tokens.contains(&tt) {
|
||||
self.tokens.push(tt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue