Skip to content

Commit b667b03

Browse files
author
blake2-ppc
committed
---
yaml --- r: 85939 b: refs/heads/dist-snap c: 15bb9b4 h: refs/heads/master i: 85937: 40ba9e2 85935: 1756b92 v: v3
1 parent aeb9973 commit b667b03

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 0983ebe5310d4eb6d289f636f7ed0536c08bbc0e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 479aefb6709eaa0ed83253aeab36a553e826c417
9+
refs/heads/dist-snap: 15bb9b4e1abf06ada9985effc3ef034d017a4c18
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libextra/dlist.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ impl<A: Eq> Eq for DList<A> {
594594
}
595595

596596
fn ne(&self, other: &DList<A>) -> bool {
597-
self.len() != other.len() &&
597+
self.len() != other.len() ||
598598
iterator::order::ne(self.iter(), other.iter())
599599
}
600600
}
@@ -978,6 +978,10 @@ mod tests {
978978
assert!(n != m);
979979
m.push_back(1);
980980
assert_eq!(&n, &m);
981+
982+
let n = list_from([2,3,4]);
983+
let m = list_from([1,2,3]);
984+
assert!(n != m);
981985
}
982986

983987
#[test]

0 commit comments

Comments
 (0)