@@ -341,7 +341,7 @@ where
341341 // been fully instantiated and hence the set of scopes we have
342342 // doesn't matter -- just to be sure, put an empty vector
343343 // 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 ) ) ;
345345
346346 // Relate the generalized kind to the original one.
347347 let result = pair. relate_generalized_ty ( self , generalized_ty) ;
@@ -680,7 +680,7 @@ where
680680 // itself occurs. Note that `'b` and `'c` must both
681681 // include P. At the point, the call works because of
682682 // 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 ) ;
684684
685685 self . relate ( a. skip_binder ( ) , b. skip_binder ( ) ) ?;
686686
@@ -709,7 +709,7 @@ where
709709 // Reset ambient variance to contravariance. See the
710710 // covariant case above for an explanation.
711711 let variance =
712- :: std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Contravariant ) ;
712+ std:: mem:: replace ( & mut self . ambient_variance , ty:: Variance :: Contravariant ) ;
713713
714714 self . relate ( a. skip_binder ( ) , b. skip_binder ( ) ) ?;
715715
0 commit comments