diff --git a/src/parse_quote.rs b/src/parse_quote.rs index 6d635b445a..2db20597c4 100644 --- a/src/parse_quote.rs +++ b/src/parse_quote.rs @@ -53,11 +53,22 @@ /// /// - [`Attribute`] — parses one attribute, allowing either outer like `#[...]` /// or inner like `#![...]` +/// - [`Vec`] — parses multiple attributes, including mixed kinds in +/// any order /// - [`Punctuated`] — parses zero or more `T` separated by punctuation /// `P` with optional trailing punctuation +/// - [`Vec`] — parses arms separated by optional commas according to the +/// same grammar as the inside of a `match` expression /// - [`Vec`] — parses the same as `Block::parse_within` +/// - [`Pat`], [`Box`] — parses the same as +/// `Pat::parse_multi_with_leading_vert` +/// - [`Field`] — parses a named or unnamed struct field /// +/// [`Vec`]: Attribute +/// [`Vec`]: Arm /// [`Vec`]: Block::parse_within +/// [`Pat`]: Pat::parse_multi_with_leading_vert +/// [`Box`]: Pat::parse_multi_with_leading_vert /// /// # Panics ///