Skip to content

Commit 5687f89

Browse files
committed
address changes part 1
1 parent 936df35 commit 5687f89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chalk-ir/src/visit/boring_impls.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl<T: Visit<I>, I: Interner> Visit<I> for &T {
2121
where
2222
I: 'i,
2323
{
24-
(**self).visit_with(visitor, outer_binder)
24+
T::visit_with(self, visitor, outer_binder)
2525
}
2626
}
2727

@@ -51,7 +51,7 @@ impl<T: Visit<I>, I: Interner> Visit<I> for Box<T> {
5151
where
5252
I: 'i,
5353
{
54-
(**self).visit_with(visitor, outer_binder)
54+
T::visit_with(self, visitor, outer_binder)
5555
}
5656
}
5757

@@ -64,7 +64,7 @@ impl<T: Visit<I>, I: Interner> Visit<I> for Arc<T> {
6464
where
6565
I: 'i,
6666
{
67-
(**self).visit_with(visitor, outer_binder)
67+
T::visit_with(self, visitor, outer_binder)
6868
}
6969
}
7070

0 commit comments

Comments
 (0)