@@ -341,7 +341,7 @@ where
341
341
// been fully instantiated and hence the set of scopes we have
342
342
// doesn't matter -- just to be sure, put an empty vector
343
343
// in there.
344
- let old_a_scopes = :: std:: mem:: take ( pair. vid_scopes ( self ) ) ;
344
+ let old_a_scopes = std:: mem:: take ( pair. vid_scopes ( self ) ) ;
345
345
346
346
// Relate the generalized kind to the original one.
347
347
let result = pair. relate_generalized_ty ( self , generalized_ty) ;
@@ -680,7 +680,7 @@ where
680
680
// itself occurs. Note that `'b` and `'c` must both
681
681
// include P. At the point, the call works because of
682
682
// subtyping (i.e., `&'b u32 <: &{P} u32`).
683
- let variance = :: std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Covariant ) ;
683
+ let variance = std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Covariant ) ;
684
684
685
685
self . relate ( a. skip_binder ( ) , b. skip_binder ( ) ) ?;
686
686
@@ -709,7 +709,7 @@ where
709
709
// Reset ambient variance to contravariance. See the
710
710
// covariant case above for an explanation.
711
711
let variance =
712
- :: std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Contravariant ) ;
712
+ std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Contravariant ) ;
713
713
714
714
self . relate ( a. skip_binder ( ) , b. skip_binder ( ) ) ?;
715
715
0 commit comments