Rollup merge of #78453 - Storyyeller:patch-1, r=jonas-schievink

Fix typo in comments
This commit is contained in:
Dylan DPC 2020-10-28 01:21:39 +01:00 committed by GitHub
commit 6967005e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -831,7 +831,7 @@ impl<'a> Parser<'a> {
self.struct_span_err(self.token.span, &format!("unexpected token: `{}`", actual)).emit();
}
// We need and identifier or integer, but the next token is a float.
// We need an identifier or integer, but the next token is a float.
// Break the float into components to extract the identifier or integer.
// FIXME: With current `TokenCursor` it's hard to break tokens into more than 2
// parts unless those parts are processed immediately. `TokenCursor` should either