Skip to content

Commit

Permalink
Rollup merge of rust-lang#97880 - ChayimFriedman2:patch-2, r=lcnr
Browse files Browse the repository at this point in the history
Fix typo: fo->for
  • Loading branch information
matthiaskrgr authored Jun 8, 2022
2 parents ef56a1e + f4ba14d commit c374529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_expand/src/mbe/macro_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
}

// Note: the vectors could be created and dropped within `parse_tt`, but to avoid excess
// allocations we have a single vector fo each kind that is cleared and reused repeatedly.
// allocations we have a single vector for each kind that is cleared and reused repeatedly.
pub struct TtParser {
macro_name: Ident,

Expand Down

0 comments on commit c374529

Please sign in to comment.