Skip to content

Commit b552965

Browse files
committed
Typo.
1 parent 3afec24 commit b552965

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_analysis/src/variance

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/variance/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn variance_of_opaque(tcx: TyCtxt<'_>, item_def_id: LocalDefId) -> &[ty::Varianc
8989
}
9090
}
9191

92-
// By default, we RPIT are invariant wrt type and const generics, but they are bivariant wrt
92+
// By default, RPIT are invariant wrt type and const generics, but they are bivariant wrt
9393
// lifetime generics.
9494
let mut variances: Vec<_> = std::iter::repeat(ty::Invariant).take(generics.count()).collect();
9595

0 commit comments

Comments
 (0)