Skip to content

Commit 1521a57

Browse files
committed
Drive-by fix for unnecessary &mut
1 parent 70c1699 commit 1521a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/traits/fulfill.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ fn process_predicate<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
398398
// purposes of the ancestor check, we retain
399399
// the invariant that all type variables are
400400
// fully refreshed.
401-
if !(&mut is_ancestor)(&obligation.predicate) {
401+
if !is_ancestor(&obligation.predicate) {
402402
return None;
403403
}
404404
}

0 commit comments

Comments
 (0)