1
Fork 0

remove remaining is_not_empty functions/methods

This commit is contained in:
Daniel Micay 2013-01-24 23:24:57 -05:00
parent ec3f6e1932
commit e4337a9def
18 changed files with 17 additions and 54 deletions

View file

@ -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");
}
}