@@ -190,8 +190,8 @@ pub enum TyKind<'tcx> {
190
190
191
191
/// Opaque (`impl Trait`) type found in a return type.
192
192
/// The `DefId` comes either from
193
- /// * the `impl Trait` ast::Ty node,
194
- /// * or the `existential type` declaration
193
+ /// * the `impl Trait` ` ast::Ty` node,
194
+ /// * the `existential type` declaration.
195
195
/// The substitutions are for the generics of the function in question.
196
196
/// After typeck, the concrete type can be found in the `types` map.
197
197
Opaque ( DefId , & ' tcx Substs < ' tcx > ) ,
@@ -582,7 +582,7 @@ impl<'tcx> List<ExistentialPredicate<'tcx>> {
582
582
583
583
#[ inline]
584
584
pub fn projection_bounds < ' a > ( & ' a self ) ->
585
- impl Iterator < Item = ExistentialProjection < ' tcx > > + ' a {
585
+ impl Iterator < Item = ExistentialProjection < ' tcx > > + ' a {
586
586
self . iter ( ) . filter_map ( |predicate| {
587
587
match * predicate {
588
588
ExistentialPredicate :: Projection ( p) => Some ( p) ,
@@ -592,7 +592,7 @@ impl<'tcx> List<ExistentialPredicate<'tcx>> {
592
592
}
593
593
594
594
#[ inline]
595
- pub fn auto_traits < ' a > ( & ' a self ) -> impl Iterator < Item = DefId > + ' a {
595
+ pub fn auto_traits < ' a > ( & ' a self ) -> impl Iterator < Item = DefId > + ' a {
596
596
self . iter ( ) . filter_map ( |predicate| {
597
597
match * predicate {
598
598
ExistentialPredicate :: AutoTrait ( d) => Some ( d) ,
@@ -619,7 +619,7 @@ impl<'tcx> Binder<&'tcx List<ExistentialPredicate<'tcx>>> {
619
619
}
620
620
621
621
pub fn iter < ' a > ( & ' a self )
622
- -> impl DoubleEndedIterator < Item = Binder < ExistentialPredicate < ' tcx > > > + ' tcx {
622
+ -> impl DoubleEndedIterator < Item = Binder < ExistentialPredicate < ' tcx > > > + ' tcx {
623
623
self . skip_binder ( ) . iter ( ) . cloned ( ) . map ( Binder :: bind)
624
624
}
625
625
}
0 commit comments