about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-14 16:19:15 +0530
committerGitHub <noreply@github.com>2022-10-14 16:19:15 +0530
commit77064b7f0a28a74a997046f66306e13d6d37b10e (patch)
tree3a754a565528b532611746e8346900d66d66553a /compiler/rustc_parse/src/parser
parent8c9ecbb7e3adf14a19e16568422026849822a7ad (diff)
parent7122abaddf2cf10ce26f86305ff540ae5b38c097 (diff)
downloadrust-77064b7f0a28a74a997046f66306e13d6d37b10e.tar.gz
rust-77064b7f0a28a74a997046f66306e13d6d37b10e.zip
Rollup merge of #103018 - Rageking8:more-dupe-word-typos, r=TaKO8Ki
More dupe word typos

I only picked those changes (from the regex search) that I am pretty certain doesn't change meaning and is just a typo fix. Do correct me if any fix is undesirable and I can revert those. Thanks.
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs
index f57bd9cec19..828b7d2f2f7 100644
--- a/compiler/rustc_parse/src/parser/diagnostics.rs
+++ b/compiler/rustc_parse/src/parser/diagnostics.rs
@@ -2232,7 +2232,7 @@ impl<'a> Parser<'a> {
     ///
     /// When encountering code like `foo::< bar + 3 >` or `foo::< bar - baz >` we suggest
     /// `foo::<{ bar + 3 }>` and `foo::<{ bar - baz }>`, respectively. We only provide a suggestion
-    /// if we think that that the resulting expression would be well formed.
+    /// if we think that the resulting expression would be well formed.
     pub fn recover_const_arg(
         &mut self,
         start: Span,