Skip to content

Commit

Permalink
Merge pull request 792 from goffrie/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 15, 2020
2 parents 2b22ffe + 2ca8f20 commit 74292f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ ast_struct! {
ast_struct! {
/// A pattern that binds a new variable: `ref mut binding @ SUBPATTERN`.
///
/// It may also be a unit struct or struct variant (e.g. `None`), or a
/// constant; these cannot be distinguished syntactically.
///
/// *This type is available if Syn is built with the `"full"` feature.*
pub struct PatIdent {
pub attrs: Vec<Attribute>,
Expand Down

0 comments on commit 74292f0

Please sign in to comment.