Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/lib.rs')
-rw-r--r--crates/hir/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index 1f4f3091df..6206a541c1 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -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,