summary refs log tree commit diff
path: root/src/libsyntax/ast_map.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-06-08 21:38:47 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-06-08 23:19:30 -0400
commitde367157b55ee8664dfceec2c2e291087d5c188a (patch)
tree3d8ba27d2250f4a7a06235b422e674514a69e7b2 /src/libsyntax/ast_map.rs
parent470bf0dfb362e7494cfddf4e7d443e1264dfdf2f (diff)
downloadrust-de367157b55ee8664dfceec2c2e291087d5c188a.tar.gz
rust-de367157b55ee8664dfceec2c2e291087d5c188a.zip
remove deprecated vec::{is_empty, len} functions
Diffstat (limited to 'src/libsyntax/ast_map.rs')
-rw-r--r--src/libsyntax/ast_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_map.rs b/src/libsyntax/ast_map.rs
index ec77ba88530..fecded5e87b 100644
--- a/src/libsyntax/ast_map.rs
+++ b/src/libsyntax/ast_map.rs
@@ -66,7 +66,7 @@ pub fn path_to_str_with_sep(p: &[path_elt], sep: &str, itr: @ident_interner)
 }
 
 pub fn path_ident_to_str(p: &path, i: ident, itr: @ident_interner) -> ~str {
-    if vec::is_empty(*p) {
+    if p.is_empty() {
         //FIXME /* FIXME (#2543) */ copy *i
         copy *itr.get(i.name)
     } else {