]> git.lizzy.rs Git - rust.git/commitdiff
Typo.
authorCamille GILLOT <gillot.camille@gmail.com>
Mon, 14 Nov 2022 18:21:21 +0000 (18:21 +0000)
committerCamille GILLOT <gillot.camille@gmail.com>
Mon, 14 Nov 2022 18:21:21 +0000 (18:21 +0000)
compiler/rustc_hir_analysis/src/variance/mod.rs

index aa7fad0096428ca15ced9db4e0e8766b8338667d..b6137f89cadaae0a7499a6999aa3d723bd9d6360 100644 (file)
@@ -89,7 +89,7 @@ fn visit_region(&mut self, r: ty::Region<'tcx>) -> ControlFlow<Self::BreakTy> {
         }
     }
 
-    // By default, we RPIT are invariant wrt type and const generics, but they are bivariant wrt
+    // By default, RPIT are invariant wrt type and const generics, but they are bivariant wrt
     // lifetime generics.
     let mut variances: Vec<_> = std::iter::repeat(ty::Invariant).take(generics.count()).collect();