about summary refs log tree commit diff
path: root/src/libstd/c_vec.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-21 21:34:30 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-22 10:29:17 -0700
commitc1084091d4e5472fac7e158b11120bad6ff210ff (patch)
tree745a42f03c8c88670da739313cd8050a5f1d8b37 /src/libstd/c_vec.rs
parentbe9bddd46377bc982b73acf15a720365a54197a7 (diff)
downloadrust-c1084091d4e5472fac7e158b11120bad6ff210ff.tar.gz
rust-c1084091d4e5472fac7e158b11120bad6ff210ff.zip
libstd: Remove all uses of `pure` from libstd. rs=depure
Diffstat (limited to 'src/libstd/c_vec.rs')
-rw-r--r--src/libstd/c_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/c_vec.rs b/src/libstd/c_vec.rs
index d9595656f05..1787be75e24 100644
--- a/src/libstd/c_vec.rs
+++ b/src/libstd/c_vec.rs
@@ -141,7 +141,7 @@ pub fn set<T:Copy>(t: CVec<T>, ofs: uint, v: T) {
  */
 
 /// Returns the length of the vector
-pub pure fn len<T>(t: CVec<T>) -> uint { t.len }
+pub fn len<T>(t: CVec<T>) -> uint { t.len }
 
 /// Returns a pointer to the first element of the vector
 pub unsafe fn ptr<T>(t: CVec<T>) -> *mut T { t.base }