diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-14 18:21:21 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-14 18:21:21 +0000 |
| commit | b552965a93b28a6f184c75fe4e6fcc5129dc1d1a (patch) | |
| tree | 7496919a90d82e2b6dddb10f6370fd81e2594251 | |
| parent | 3afec247cb41e528607c181fd7c278132b6f3c2a (diff) | |
| download | rust-b552965a93b28a6f184c75fe4e6fcc5129dc1d1a.tar.gz rust-b552965a93b28a6f184c75fe4e6fcc5129dc1d1a.zip | |
Typo.
| -rw-r--r-- | compiler/rustc_hir_analysis/src/variance/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/variance/mod.rs b/compiler/rustc_hir_analysis/src/variance/mod.rs index aa7fad00964..b6137f89cad 100644 --- a/compiler/rustc_hir_analysis/src/variance/mod.rs +++ b/compiler/rustc_hir_analysis/src/variance/mod.rs @@ -89,7 +89,7 @@ fn variance_of_opaque(tcx: TyCtxt<'_>, item_def_id: LocalDefId) -> &[ty::Varianc } } - // 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(); |
