diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 15:14:15 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 15:14:15 -0400 |
| commit | 5160f8f843e1dbd43cf341cc8aa5d917d22c98b9 (patch) | |
| tree | 98f378da3bf249dd192f6b9048a81c86238b6e91 /compiler/rustc_expand/src | |
| parent | 3e7514670db841a7f0d7656f3b13b1c8b2c11599 (diff) | |
| download | rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.tar.gz rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.zip | |
Spellchecking compiler comments
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_expand/src')
| -rw-r--r-- | compiler/rustc_expand/src/mbe/transcribe.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_expand/src/mbe/transcribe.rs b/compiler/rustc_expand/src/mbe/transcribe.rs index cd016bfd8f4..508108df001 100644 --- a/compiler/rustc_expand/src/mbe/transcribe.rs +++ b/compiler/rustc_expand/src/mbe/transcribe.rs @@ -35,7 +35,7 @@ enum Frame { impl Frame { /// Construct a new frame around the delimited set of tokens. fn new(mut tts: Vec<mbe::TokenTree>) -> Frame { - // Need to add empty delimeters. + // Need to add empty delimiters. let open_tt = mbe::TokenTree::token(token::OpenDelim(token::NoDelim), DUMMY_SP); let close_tt = mbe::TokenTree::token(token::CloseDelim(token::NoDelim), DUMMY_SP); tts.insert(0, open_tt); @@ -210,7 +210,7 @@ pub(super) fn transcribe<'a>( )); } } else { - // 0 is the initial counter (we have done 0 repretitions so far). `len` + // 0 is the initial counter (we have done 0 repetitions so far). `len` // is the total number of repetitions we should generate. repeats.push((0, len)); |
