Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #15712 - cuishuang:master, r=lnicola
minor: Remove repetitive words
bors 2023-10-06
parent 54866a0 · parent 58239f2 · commit fd39a30
-rw-r--r--crates/ide/src/syntax_highlighting.rs2
-rw-r--r--crates/mbe/src/expander.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs
index bb01c81d66..dd72484b38 100644
--- a/crates/ide/src/syntax_highlighting.rs
+++ b/crates/ide/src/syntax_highlighting.rs
@@ -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;
diff --git a/crates/mbe/src/expander.rs b/crates/mbe/src/expander.rs
index f2d89d3efe..908048c990 100644
--- a/crates/mbe/src/expander.rs
+++ b/crates/mbe/src/expander.rs
@@ -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),