Skip to content

Commit fd39a30

Browse files
committed
Auto merge of #15712 - cuishuang:master, r=lnicola
minor: Remove repetitive words
2 parents 54866a0 + 58239f2 commit fd39a30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ide/src/syntax_highlighting.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ fn traverse(
245245
let mut macro_highlighter = MacroHighlighter::default();
246246

247247
// FIXME: these are not perfectly accurate, we determine them by the real file's syntax tree
248-
// an an attribute nested in a macro call will not emit `inside_attribute`
248+
// an attribute nested in a macro call will not emit `inside_attribute`
249249
let mut inside_attribute = false;
250250
let mut inside_macro_call = false;
251251

crates/mbe/src/expander.rs

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

0 commit comments

Comments
 (0)