Recover fn
keyword as Fn
trait in bounds
This commit is contained in:
parent
caa64e5b5e
commit
aff403cf68
9 changed files with 148 additions and 79 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue