Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c374529

Browse files
authoredJun 8, 2022
Rollup merge of rust-lang#97880 - ChayimFriedman2:patch-2, r=lcnr
Fix typo: fo->for
2 parents ef56a1e + f4ba14d commit c374529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_expand/src/mbe/macro_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
362362
}
363363

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

0 commit comments

Comments
 (0)
Please sign in to comment.