Auto merge of #15712 - cuishuang:master, r=lnicola

minor: Remove repetitive words
This commit is contained in:
bors 2023-10-05 22:29:45 +00:00
commit fd39a30b6c
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();
// 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_macro_call = false;

View File

@ -119,7 +119,7 @@ enum Fragment {
/// precedence. Note that this impl is different from the one currently in
/// `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
/// tricky to handle in the parser, and rustc doesn't handle those either.
Expr(tt::TokenTree),