We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afec24 commit b552965Copy full SHA for b552965
compiler/rustc_hir_analysis/src/variance/mod.rs
@@ -89,7 +89,7 @@ fn variance_of_opaque(tcx: TyCtxt<'_>, item_def_id: LocalDefId) -> &[ty::Varianc
89
}
90
91
92
- // 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
93
// lifetime generics.
94
let mut variances: Vec<_> = std::iter::repeat(ty::Invariant).take(generics.count()).collect();
95
0 commit comments