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