Skip to content

Commit 06783ce

Browse files
author
blake2-ppc
committed
std::vec: Fix typo in fn ne
1 parent 8ed8a41 commit 06783ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ pub mod traits {
574574
order::eq(self.iter(), other.iter())
575575
}
576576
fn ne(&self, other: & &'self [T]) -> bool {
577-
self.len() != other.len() !=
577+
self.len() != other.len() ||
578578
order::ne(self.iter(), other.iter())
579579
}
580580
}

0 commit comments

Comments
 (0)