fix typo in docs and comments

This commit is contained in:
yuk1ty 2020-09-21 12:14:28 +09:00
parent 0f9f0b384a
commit 16047d46a1
8 changed files with 8 additions and 8 deletions

View file

@ -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)
}