Typo.
This commit is contained in:
parent
3afec247cb
commit
b552965a93
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue