Rollup merge of #73975 - pierwill:patch-3, r=jonas-schievink
Document rustc_ast::ast::Pat
This commit is contained in:
commit
7bd2f97cb6
1 changed files with 3 additions and 0 deletions
|
@ -511,6 +511,9 @@ pub struct Block {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// A match pattern.
|
||||||
|
///
|
||||||
|
/// Patterns appear in match statements and some other contexts, such as `let` and `if let`.
|
||||||
#[derive(Clone, RustcEncodable, RustcDecodable, Debug)]
|
#[derive(Clone, RustcEncodable, RustcDecodable, Debug)]
|
||||||
pub struct Pat {
|
pub struct Pat {
|
||||||
pub id: NodeId,
|
pub id: NodeId,
|
||||||
|
|
Loading…
Add table
Reference in a new issue