This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ impl FlagComputation {
125125 self . bound_computation ( ts, |flags, ts| flags. add_tys ( ts) ) ;
126126 }
127127
128- & ty:: GeneratorWitnessMIR ( _, ref substs) => {
128+ ty:: GeneratorWitnessMIR ( _, substs) => {
129129 let should_remove_further_specializable =
130130 !self . flags . contains ( TypeFlags :: STILL_FURTHER_SPECIALIZABLE ) ;
131131 self . add_substs ( substs) ;
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ impl<I: Interner> PartialEq for TyKind<I> {
336336 a_d == b_d && a_s == b_s && a_m == b_m
337337 }
338338 ( GeneratorWitness ( a_g) , GeneratorWitness ( b_g) ) => a_g == b_g,
339- ( & GeneratorWitnessMIR ( ref a_d, ref a_s) , & GeneratorWitnessMIR ( ref b_d, ref b_s) ) => {
339+ ( GeneratorWitnessMIR ( a_d, a_s) , GeneratorWitnessMIR ( b_d, b_s) ) => {
340340 a_d == b_d && a_s == b_s
341341 }
342342 ( Tuple ( a_t) , Tuple ( b_t) ) => a_t == b_t,
@@ -397,8 +397,8 @@ impl<I: Interner> Ord for TyKind<I> {
397397 }
398398 ( GeneratorWitness ( a_g) , GeneratorWitness ( b_g) ) => a_g. cmp ( b_g) ,
399399 (
400- & GeneratorWitnessMIR ( ref a_d, ref a_s) ,
401- & GeneratorWitnessMIR ( ref b_d, ref b_s) ,
400+ GeneratorWitnessMIR ( a_d, a_s) ,
401+ GeneratorWitnessMIR ( b_d, b_s) ,
402402 ) => match Ord :: cmp ( a_d, b_d) {
403403 Ordering :: Equal => Ord :: cmp ( a_s, b_s) ,
404404 cmp => cmp,
You can’t perform that action at this time.
0 commit comments