This commit is contained in:
Aleksey Kladov 2019-02-24 20:49:55 +03:00
parent 3c7c5a7354
commit 9af525dbd6
4 changed files with 31 additions and 35 deletions

View file

@ -64,7 +64,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
hir::ImplItem::Method(func) => {
let sig = func.signature(ctx.db);
if !sig.has_self_param() {
acc.add_function(CompletionKind::Reference, ctx, func);
acc.add_function(ctx, func);
}
None::<()>
}