1
Fork 0

add implementation of Repr for ~[T]

This commit is contained in:
Daniel Micay 2014-01-14 16:33:08 -05:00
parent 6809b172e0
commit 77758f0b5e
2 changed files with 2 additions and 1 deletions

View file

@ -806,7 +806,7 @@ impl<T> Container for ~[T] {
/// Returns the length of a vector
#[inline]
fn len(&self) -> uint {
self.repr().len
self.as_slice().len()
}
}