From f4ba14d290db327ce87d2ae0b1b0ed5a82b45176 Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Wed, 8 Jun 2022 16:40:02 +0300 Subject: [PATCH] Fix typo: fo->for --- compiler/rustc_expand/src/mbe/macro_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_expand/src/mbe/macro_parser.rs b/compiler/rustc_expand/src/mbe/macro_parser.rs index 0631a5e42c25d..4fa91dfeaea27 100644 --- a/compiler/rustc_expand/src/mbe/macro_parser.rs +++ b/compiler/rustc_expand/src/mbe/macro_parser.rs @@ -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,