diff options
author | Aleksey Kladov <[email protected]> | 2019-02-24 17:49:55 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-24 17:49:55 +0000 |
commit | 9af525dbd69bb22c968ba42d758657b2ad9bdd37 (patch) | |
tree | 0a7677e6b315ec6eceb72005d7cf2fb61bc0a4f3 /crates/ra_ide_api/src/completion/complete_path.rs | |
parent | 3c7c5a7354760a12b38c7186193232d68056a76e (diff) |
simplify
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 | } |