about summary refs log tree commit diff
path: root/src/lib/vec.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-11 23:43:17 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-12 12:14:07 -0700
commit12cd11ecdabaa8b9fb75f10319e7f4fa6e2af0c4 (patch)
treece01376405eb851a8392e3b6e6063da84c7961a4 /src/lib/vec.rs
parent544bdf05c5875f457a3339444ba9bf59a18bee3f (diff)
downloadrust-12cd11ecdabaa8b9fb75f10319e7f4fa6e2af0c4.tar.gz
rust-12cd11ecdabaa8b9fb75f10319e7f4fa6e2af0c4.zip
Remove last uses of vec::len
Diffstat (limited to 'src/lib/vec.rs')
-rw-r--r--src/lib/vec.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/vec.rs b/src/lib/vec.rs
index e2323fad2de..9e7cfd5713d 100644
--- a/src/lib/vec.rs
+++ b/src/lib/vec.rs
@@ -5,7 +5,6 @@ import util::orb;
 
 export vbuf;
 export buf;
-export len;
 
 type vbuf = rustrt::vbuf;
 
@@ -37,8 +36,6 @@ native "rust" mod rustrt {
 
 fn buf[T](v: array[T]) -> vbuf { ret rustrt::vec_buf[T](v, 0u); }
 
-fn len[T](v: array[T]) -> uint { ret rustrt::vec_len[T](v); }
-
 // Local Variables:
 // mode: rust;
 // fill-column: 78;