diff options
| author | yuk1ty <yuki.mul.tiplus@gmail.com> | 2020-09-21 12:14:28 +0900 |
|---|---|---|
| committer | yuk1ty <yuki.mul.tiplus@gmail.com> | 2020-09-21 12:14:28 +0900 |
| commit | 16047d46a10813a25e956e659b8861cc67c20cd2 (patch) | |
| tree | 9d6a65b92c728d52093529dec22757fe420324ef /compiler/rustc_parse/src/parser | |
| parent | 0f9f0b384a0a3c997c1ea8f838f5591f12f96633 (diff) | |
| download | rust-16047d46a10813a25e956e659b8861cc67c20cd2.tar.gz rust-16047d46a10813a25e956e659b8861cc67c20cd2.zip | |
fix typo in docs and comments
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/ty.rs | 2 |
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) } |
