Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/render/macro_.rs')
| -rw-r--r-- | crates/ide-completion/src/render/macro_.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/render/macro_.rs b/crates/ide-completion/src/render/macro_.rs index 26690d22ab..0c9c65f423 100644 --- a/crates/ide-completion/src/render/macro_.rs +++ b/crates/ide-completion/src/render/macro_.rs @@ -35,7 +35,7 @@ fn render( let needs_bang = match &completion.ident_ctx { IdentContext::NameRef(NameRefContext { - kind: Some(NameRefKind::Path(PathCompletionCtx { kind, has_macro_bang, .. })), + kind: NameRefKind::Path(PathCompletionCtx { kind, has_macro_bang, .. }), .. }) => is_fn_like && *kind != PathKind::Use && !has_macro_bang, _ => is_fn_like, |