Remove repetitive words

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2023-10-05 17:41:50 +08:00
parent b57658d9a9
commit 58239f2990
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ fn item(&self) -> &ast::Item {
let mut macro_highlighter = MacroHighlighter::default(); let mut macro_highlighter = MacroHighlighter::default();
// FIXME: these are not perfectly accurate, we determine them by the real file's syntax tree // FIXME: these are not perfectly accurate, we determine them by the real file's syntax tree
// an an attribute nested in a macro call will not emit `inside_attribute` // an attribute nested in a macro call will not emit `inside_attribute`
let mut inside_attribute = false; let mut inside_attribute = false;
let mut inside_macro_call = false; let mut inside_macro_call = false;

View File

@ -119,7 +119,7 @@ enum Fragment {
/// precedence. Note that this impl is different from the one currently in /// precedence. Note that this impl is different from the one currently in
/// `rustc` -- `rustc` doesn't translate fragments into token trees at all. /// `rustc` -- `rustc` doesn't translate fragments into token trees at all.
/// ///
/// At one point in time, we tried to to use "fake" delimiters here a-la /// At one point in time, we tried to use "fake" delimiters here à la
/// proc-macro delimiter=none. As we later discovered, "none" delimiters are /// proc-macro delimiter=none. As we later discovered, "none" delimiters are
/// tricky to handle in the parser, and rustc doesn't handle those either. /// tricky to handle in the parser, and rustc doesn't handle those either.
Expr(tt::TokenTree), Expr(tt::TokenTree),