Skip to content

Commit

Permalink
Indicate that peek argument refers to syn::Ident
Browse files Browse the repository at this point in the history
As opposed to proc_macro2::Ident.
  • Loading branch information
dtolnay committed Nov 5, 2023
1 parent 3e67cb0 commit c274590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ impl<'a> ParseBuffer<'a> {
///
/// - `input.peek(Token![struct])`
/// - `input.peek(Token![==])`
/// - `input.peek(Ident)`&emsp;*(does not accept keywords)*
/// - `input.peek(Ident::peek_any)`
/// - `input.peek(syn::Ident)`&emsp;*(does not accept keywords)*
/// - `input.peek(syn::Ident::peek_any)`
/// - `input.peek(Lifetime)`
/// - `input.peek(token::Brace)`
///
Expand Down

0 comments on commit c274590

Please sign in to comment.