commit | b8a68e462d38fbaa99599f9c41ff10920c6a4cd3 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Apr 22 14:01:56 2019 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Apr 22 14:41:49 2019 -0700 |
tree | 9fd44cf4207d20a42ecc532f82cd05b4c72a3e8a | |
parent | 95479ef222e02fd833c64778f6541e107ae704b0 [diff] [blame] |
Function to peek any ident
diff --git a/src/parse.rs b/src/parse.rs index 36f1caf..e651d15 100644 --- a/src/parse.rs +++ b/src/parse.rs
@@ -469,7 +469,8 @@ /// /// - `input.peek(Token![struct])` /// - `input.peek(Token![==])` - /// - `input.peek(Ident)` + /// - `input.peek(Ident)` *(does not accept keywords)* + /// - `input.peek(Ident::peek_any)` /// - `input.peek(Lifetime)` /// - `input.peek(token::Brace)` ///