diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index f8595b5c4..d2f65310f 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs | |||
@@ -64,7 +64,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) { | |||
64 | hir::ImplItem::Method(func) => { | 64 | hir::ImplItem::Method(func) => { |
65 | let sig = func.signature(ctx.db); | 65 | let sig = func.signature(ctx.db); |
66 | if !sig.has_self_param() { | 66 | if !sig.has_self_param() { |
67 | acc.add_function(CompletionKind::Reference, ctx, func); | 67 | acc.add_function(ctx, func); |
68 | } | 68 | } |
69 | None::<()> | 69 | None::<()> |
70 | } | 70 | } |