mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 03:03:21 +00:00
comments & whitespace
This commit is contained in:
parent
d7638f9dba
commit
b24b453e4a
@ -385,6 +385,7 @@ pub type stmt = spanned<stmt_>;
|
||||
|
||||
#[deriving(Eq, Encodable, Decodable)]
|
||||
pub enum stmt_ {
|
||||
// could be an item or a local (let) binding:
|
||||
stmt_decl(@decl, node_id),
|
||||
|
||||
// expr without trailing semi-colon (must have unit type):
|
||||
@ -414,7 +415,9 @@ pub type decl = spanned<decl_>;
|
||||
|
||||
#[deriving(Eq, Encodable, Decodable)]
|
||||
pub enum decl_ {
|
||||
// a local (let) binding:
|
||||
decl_local(@local),
|
||||
// an item binding:
|
||||
decl_item(@item),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user