diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_dot.rs')
-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 9b01eb0ab..37985b398 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_methods( | |||
63 | ) -> Cancelable<()> { | 63 | ) -> Cancelable<()> { |
64 | receiver.iterate_methods(ctx.db, |func| { | 64 | receiver.iterate_methods(ctx.db, |func| { |
65 | let sig = func.signature(ctx.db); | 65 | let sig = func.signature(ctx.db); |
66 | if sig.has_self_arg() { | 66 | if sig.has_self_param() { |
67 | CompletionItem::new(CompletionKind::Reference, sig.name().to_string()) | 67 | CompletionItem::new(CompletionKind::Reference, sig.name().to_string()) |
68 | .from_function(ctx, func) | 68 | .from_function(ctx, func) |
69 | .kind(CompletionItemKind::Method) | 69 | .kind(CompletionItemKind::Method) |