Skip to content

Commit c0d3b29

Browse files
committed
librustc: Shot in the dark to try to unbreak Windows. rs=me
1 parent 33c1e47 commit c0d3b29

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/middle/typeck/infer

1 file changed

+1
-1
lines changed

src/librustc/middle/typeck/infer/unify.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl infer_ctxt {
4343
match (*var_val) {
4444
redirect(ref vid) => {
4545
let node = self.get(vb, (*vid));
46-
if node.root != (*vid) {
46+
if node.root.ne(vid) {
4747
// Path compression
4848
vb.vals.insert((*vid).to_uint(), redirect(node.root));
4949
}

0 commit comments

Comments
 (0)