Skip to content

Commit

Permalink
Auto merge of #15712 - cuishuang:master, r=lnicola
Browse files Browse the repository at this point in the history
minor: Remove repetitive words
  • Loading branch information
bors committed Oct 5, 2023
2 parents 54866a0 + 58239f2 commit fd39a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/ide/src/syntax_highlighting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ fn traverse(
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;

Expand Down
2 changes: 1 addition & 1 deletion crates/mbe/src/expander.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit fd39a30

Please sign in to comment.