Skip to content

Commit b24b453

Browse files
committed
comments & whitespace
1 parent d7638f9 commit b24b453

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libsyntax/ast.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ pub type stmt = spanned<stmt_>;
385385

386386
#[deriving(Eq, Encodable, Decodable)]
387387
pub enum stmt_ {
388+
// could be an item or a local (let) binding:
388389
stmt_decl(@decl, node_id),
389390

390391
// expr without trailing semi-colon (must have unit type):
@@ -414,7 +415,9 @@ pub type decl = spanned<decl_>;
414415

415416
#[deriving(Eq, Encodable, Decodable)]
416417
pub enum decl_ {
418+
// a local (let) binding:
417419
decl_local(@local),
420+
// an item binding:
418421
decl_item(@item),
419422
}
420423

0 commit comments

Comments
 (0)