about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/vec.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs
index b55a236566b..27566bf23c8 100644
--- a/src/libstd/vec.rs
+++ b/src/libstd/vec.rs
@@ -123,11 +123,6 @@ use unstable::raw::{Box, Repr, Slice, Vec};
 use vec;
 use util;
 
-/// Returns true if two vectors have the same length
-pub fn same_length<T, U>(xs: &[T], ys: &[U]) -> bool {
-    xs.len() == ys.len()
-}
-
 /**
  * Creates and initializes an owned vector.
  *