summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-09-23 14:54:07 +0200
committerGitHub <noreply@github.com>2020-09-23 14:54:07 +0200
commitbcdbe79f0c3597849eb12617b9df4aab860a8ccf (patch)
treebc30e1f58ab871b0a4b0eff5b01b605a6ab34ec3 /compiler/rustc_parse/src
parenta40d79c9fb185d6eb85f9a9c41dd9e203b2820a0 (diff)
parent16047d46a10813a25e956e659b8861cc67c20cd2 (diff)
downloadrust-bcdbe79f0c3597849eb12617b9df4aab860a8ccf.tar.gz
rust-bcdbe79f0c3597849eb12617b9df4aab860a8ccf.zip
Rollup merge of #76994 - yuk1ty:fix-small-typo, r=estebank
fix small typo in docs and comments

Fixed `the the` to `the`, as far as I found.
Diffstat (limited to 'compiler/rustc_parse/src')
-rw-r--r--compiler/rustc_parse/src/parser/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/ty.rs b/compiler/rustc_parse/src/parser/ty.rs
index fc4c62ccbd9..d42a786a18f 100644
--- a/compiler/rustc_parse/src/parser/ty.rs
+++ b/compiler/rustc_parse/src/parser/ty.rs
@@ -67,7 +67,7 @@ impl<'a> Parser<'a> {
 
     /// Parse a type suitable for a function or function pointer parameter.
     /// The difference from `parse_ty` is that this version allows `...`
-    /// (`CVarArgs`) at the top level of the the type.
+    /// (`CVarArgs`) at the top level of the type.
     pub(super) fn parse_ty_for_param(&mut self) -> PResult<'a, P<Ty>> {
         self.parse_ty_common(AllowPlus::Yes, RecoverQPath::Yes, AllowCVariadic::Yes)
     }