diff options
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_dot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_dot.rs b/crates/ra_ide_api/src/completion/complete_dot.rs index be839345f..20fa323ce 100644 --- a/crates/ra_ide_api/src/completion/complete_dot.rs +++ b/crates/ra_ide_api/src/completion/complete_dot.rs | |||
@@ -63,7 +63,7 @@ fn complete_fields(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { | 65 | fn complete_methods(acc: &mut Completions, ctx: &CompletionContext, receiver: Ty) { |
66 | receiver.iterate_methods(ctx.db, |func| { | 66 | receiver.iterate_methods(ctx.db, |_ty, func| { |
67 | let sig = func.signature(ctx.db); | 67 | let sig = func.signature(ctx.db); |
68 | if sig.has_self_param() { | 68 | if sig.has_self_param() { |
69 | CompletionItem::new( | 69 | CompletionItem::new( |