File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
181
181
/// `SubstitutionData::intern` (which will ultimately call this
182
182
/// method).
183
183
fn intern_substitution < E > (
184
+ & self ,
184
185
data : impl IntoIterator < Item = Result < Parameter < Self > , E > > ,
185
186
) -> Result < Self :: InternedSubstitution , E > ;
186
187
@@ -315,6 +316,7 @@ mod default {
315
316
}
316
317
317
318
fn intern_substitution < E > (
319
+ & self ,
318
320
data : impl IntoIterator < Item = Result < Parameter < ChalkIr > , E > > ,
319
321
) -> Result < Vec < Parameter < ChalkIr > > , E > {
320
322
data. into_iter ( ) . collect ( )
Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ impl<I: Interner> Substitution<I> {
1248
1248
) -> Result < Self , E > {
1249
1249
use crate :: cast:: Caster ;
1250
1250
Ok ( Substitution {
1251
- parameters : I :: intern_substitution ( parameters. into_iter ( ) . casted ( interner) ) ?,
1251
+ parameters : I :: intern_substitution ( interner , parameters. into_iter ( ) . casted ( interner) ) ?,
1252
1252
} )
1253
1253
}
1254
1254
You can’t perform that action at this time.
0 commit comments