Skip to content

Commit

Permalink
Fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Storyyeller authored Oct 27, 2020
1 parent 07e968b commit 710c1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 710c1f4

Please sign in to comment.