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