Skip to content

Commit 6967005

Browse files
authored
Rollup merge of #78453 - Storyyeller:patch-1, r=jonas-schievink
Fix typo in comments
2 parents 3349b68 + 710c1f4 commit 6967005

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src/parser

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/parser/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ impl<'a> Parser<'a> {
831831
self.struct_span_err(self.token.span, &format!("unexpected token: `{}`", actual)).emit();
832832
}
833833

834-
// We need and identifier or integer, but the next token is a float.
834+
// We need an identifier or integer, but the next token is a float.
835835
// Break the float into components to extract the identifier or integer.
836836
// FIXME: With current `TokenCursor` it's hard to break tokens into more than 2
837837
// parts unless those parts are processed immediately. `TokenCursor` should either

0 commit comments

Comments
 (0)