Recover fn keyword as Fn trait in bounds

This commit is contained in:
Michael Goulet 2022-12-27 06:14:40 +00:00
parent caa64e5b5e
commit aff403cf68
9 changed files with 148 additions and 79 deletions

View file

@ -851,7 +851,7 @@ impl Cursor<'_> {
}
// Eats the identifier. Note: succeeds on `_`, which isn't a valid
// identifer.
// identifier.
fn eat_identifier(&mut self) {
if !is_id_start(self.first()) {
return;