We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe047e0 commit 4865019Copy full SHA for 4865019
src/libstd/vec.rs
@@ -691,12 +691,6 @@ impl<T> Vector<T> for @[T] {
691
}
692
693
impl<'self, T> Container for &'self [T] {
694
- /// Returns true if a vector contains no elements
695
- #[inline]
696
- fn is_empty(&self) -> bool {
697
- self.as_imm_buf(|_p, len| len == 0u)
698
- }
699
-
700
/// Returns the length of a vector
701
#[inline]
702
fn len(&self) -> uint {
@@ -705,12 +699,6 @@ impl<'self, T> Container for &'self [T] {
705
706
707
impl<T> Container for ~[T] {
708
709
710
711
712
713
714
715
703
716
704
0 commit comments