about summary refs log tree commit diff
path: root/src/libsyntax/parse/classify.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-04-17 12:15:08 -0400
committerAlex Crichton <alex@alexcrichton.com>2013-04-19 23:21:52 -0400
commit3c7aea3a6a5fcf04066d0368bfd6618e9494176c (patch)
treef80b0e952362e9f2496282be2ecc3a16fc39a364 /src/libsyntax/parse/classify.rs
parentbe9f4ef65f5a2fa0d3ba610daaf328309130f7fb (diff)
downloadrust-3c7aea3a6a5fcf04066d0368bfd6618e9494176c.tar.gz
rust-3c7aea3a6a5fcf04066d0368bfd6618e9494176c.zip
syntax: de-mode and prepare for de-modeing rustc
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
-rw-r--r--src/libsyntax/parse/classify.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs
index 4125a0bc3b4..840fb891bff 100644
--- a/src/libsyntax/parse/classify.rs
+++ b/src/libsyntax/parse/classify.rs
@@ -40,7 +40,7 @@ pub fn expr_is_simple_block(e: @ast::expr) -> bool {
     }
 }
 
-pub fn stmt_ends_with_semi(stmt: ast::stmt) -> bool {
+pub fn stmt_ends_with_semi(stmt: &ast::stmt) -> bool {
     return match stmt.node {
         ast::stmt_decl(d, _) => {
             match d.node {