File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 1e5c553b7c98185adecf3564e618e70fcd136ce6
2
+ refs/heads/master: cae273abc04fc606a73db5fb4b34a464f83d3488
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5
5
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
Original file line number Diff line number Diff line change @@ -42,9 +42,8 @@ pub struct TreeMap<K: Ord, V> {
42
42
impl < K : Eq Ord , V : Eq > TreeMap < K , V > : Eq {
43
43
pure fn eq ( & self , other : & TreeMap < K , V > ) -> bool {
44
44
if self . len ( ) != other. len ( ) {
45
- return false
46
- }
47
- unsafe { // purity workaround
45
+ false
46
+ } else unsafe { // unsafe used as a purity workaround
48
47
let mut x = self . iter ( ) ;
49
48
let mut y = other. iter ( ) ;
50
49
for self . len( ) . times {
You can’t perform that action at this time.
0 commit comments