about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-01-24 23:24:57 -0500
committerDaniel Micay <danielmicay@gmail.com>2013-01-24 23:24:57 -0500
commite4337a9defcad3f2a65da285ab78f8ede554f379 (patch)
tree21d2bff727548efa00e3cf7225ab9e43a9d5a2c7 /src/libsyntax/parse
parentec3f6e1932db297d2a575e591d4c508d785a0a52 (diff)
downloadrust-e4337a9defcad3f2a65da285ab78f8ede554f379.tar.gz
rust-e4337a9defcad3f2a65da285ab78f8ede554f379.zip
remove remaining is_not_empty functions/methods
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 7183b623ef4..0bd08250617 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2237,7 +2237,7 @@ impl Parser {
 
         fn check_expected_item(p: Parser, current_attrs: ~[attribute]) {
             // If we have attributes then we should have an item
-            if vec::is_not_empty(current_attrs) {
+            if !current_attrs.is_empty() {
                 p.fatal(~"expected item after attrs");
             }
         }