about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstd/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs
index 87c2a4f9e0a..e088fd9a647 100644
--- a/src/libstd/vec.rs
+++ b/src/libstd/vec.rs
@@ -574,7 +574,7 @@ pub mod traits {
                 order::eq(self.iter(), other.iter())
         }
         fn ne(&self, other: & &'self [T]) -> bool {
-            self.len() != other.len() !=
+            self.len() != other.len() ||
                 order::ne(self.iter(), other.iter())
         }
     }