about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_parser.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2022-06-08 16:40:02 +0300
committerGitHub <noreply@github.com>2022-06-08 16:40:02 +0300
commitf4ba14d290db327ce87d2ae0b1b0ed5a82b45176 (patch)
tree752b9c01b5e2c8ba5833951a4d619aa57a99174b /compiler/rustc_expand/src/mbe/macro_parser.rs
parent1a97162cb245b5e2c7458c28859e3df779908c02 (diff)
downloadrust-f4ba14d290db327ce87d2ae0b1b0ed5a82b45176.tar.gz
rust-f4ba14d290db327ce87d2ae0b1b0ed5a82b45176.zip
Fix typo: fo->for
Diffstat (limited to 'compiler/rustc_expand/src/mbe/macro_parser.rs')
-rw-r--r--compiler/rustc_expand/src/mbe/macro_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/mbe/macro_parser.rs b/compiler/rustc_expand/src/mbe/macro_parser.rs
index 0631a5e42c2..4fa91dfeaea 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,