@@ -662,7 +662,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
662662 self . arena . alloc ( hir:: OwnerInfo { nodes, parenting, attrs, trait_map } )
663663 }
664664
665- /// Hash the HIR node twice, one deep and one shallow hash. This allows to differentiate
665+ /// Hash the HIR node twice, one deep and one shallow hash. This allows to differentiate
666666 /// queries which depend on the full HIR tree and those which only depend on the item signature.
667667 fn hash_owner (
668668 & mut self ,
@@ -1193,7 +1193,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
11931193 itctx : & ImplTraitContext ,
11941194 ) -> hir:: Ty < ' hir > {
11951195 // Check whether we should interpret this as a bare trait object.
1196- // This check mirrors the one in late resolution. We only introduce this special case in
1196+ // This check mirrors the one in late resolution. We only introduce this special case in
11971197 // the rare occurrence we need to lower `Fresh` anonymous lifetimes.
11981198 // The other cases when a qpath should be opportunistically made a trait object are handled
11991199 // by `ty_path`.
@@ -1918,7 +1918,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
19181918 this. with_remapping ( new_remapping, |this| {
19191919 // We have to be careful to get elision right here. The
19201920 // idea is that we create a lifetime parameter for each
1921- // lifetime in the return type. So, given a return type
1921+ // lifetime in the return type. So, given a return type
19221922 // like `async fn foo(..) -> &[&u32]`, we lower to `impl
19231923 // Future<Output = &'1 [ &'2 u32 ]>`.
19241924 //
@@ -2012,7 +2012,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
20122012
20132013 // Create the `Foo<...>` reference itself. Note that the `type
20142014 // Foo = impl Trait` is, internally, created as a child of the
2015- // async fn, so the *type parameters* are inherited. It's
2015+ // async fn, so the *type parameters* are inherited. It's
20162016 // only the lifetime parameters that we must supply.
20172017 let opaque_ty_ref = hir:: TyKind :: OpaqueDef (
20182018 hir:: ItemId { owner_id : hir:: OwnerId { def_id : opaque_ty_def_id } } ,
0 commit comments