Merge the two autoref vecs into one in autoderef_method_receiver

This commit is contained in:
Lukas Wirth 2023-02-27 16:01:02 +01:00
parent 9e5fa74279
commit 29a4453d55
2 changed files with 20 additions and 21 deletions

View file

@ -3376,7 +3376,7 @@ impl Type {
scope: &SemanticsScope<'_>,
with_local_impls: Option<Module>,
name: Option<&Name>,
mut callback: impl FnMut(Function) -> Option<T>,
callback: impl FnMut(Function) -> Option<T>,
) -> Option<T> {
self.iterate_method_candidates_with_traits(
db,