]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/traits/fulfill.rs
Drive-by fix for unnecessary `&mut`
[rust.git] / src / librustc / middle / traits / fulfill.rs
index 937196b5e8e7ab0efdbe67adcc2764a4e3c8bbcb..b2ba8a7a5f99fa98f288830ced05cd68acc5c48f 100644 (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;
                          }
                      }