add implementation of Repr for ~[T]
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user