Drive-by fix for unnecessary `&mut`

This commit is contained in:
Niko Matsakis 2016-03-25 12:48:30 -04:00
parent fd25a63ba9
commit 24059f74d7
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ fn process_predicate<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
// purposes of the ancestor check, we retain
// the invariant that all type variables are
// fully refreshed.
if !(&mut is_ancestor)(&obligation.predicate) {
if !is_ancestor(&obligation.predicate) {
return None;
}
}