@@ -663,7 +663,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
663
663
self . arena . alloc ( hir:: OwnerInfo { nodes, parenting, attrs, trait_map } )
664
664
}
665
665
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
667
667
/// queries which depend on the full HIR tree and those which only depend on the item signature.
668
668
fn hash_owner (
669
669
& mut self ,
@@ -1194,7 +1194,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1194
1194
itctx : & ImplTraitContext ,
1195
1195
) -> hir:: Ty < ' hir > {
1196
1196
// 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
1198
1198
// the rare occurrence we need to lower `Fresh` anonymous lifetimes.
1199
1199
// The other cases when a qpath should be opportunistically made a trait object are handled
1200
1200
// by `ty_path`.
@@ -1919,7 +1919,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1919
1919
this. with_remapping ( new_remapping, |this| {
1920
1920
// We have to be careful to get elision right here. The
1921
1921
// 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
1923
1923
// like `async fn foo(..) -> &[&u32]`, we lower to `impl
1924
1924
// Future<Output = &'1 [ &'2 u32 ]>`.
1925
1925
//
@@ -2013,7 +2013,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2013
2013
2014
2014
// Create the `Foo<...>` reference itself. Note that the `type
2015
2015
// 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
2017
2017
// only the lifetime parameters that we must supply.
2018
2018
let opaque_ty_ref = hir:: TyKind :: OpaqueDef (
2019
2019
hir:: ItemId { owner_id : hir:: OwnerId { def_id : opaque_ty_def_id } } ,
0 commit comments