Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/render/literal.rs')
| -rw-r--r-- | crates/ide-completion/src/render/literal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/render/literal.rs b/crates/ide-completion/src/render/literal.rs index f1773137fe..e6540e6ac5 100644 --- a/crates/ide-completion/src/render/literal.rs +++ b/crates/ide-completion/src/render/literal.rs @@ -52,7 +52,7 @@ fn render( let db = completion.db; let kind = thing.kind(db); let has_call_parens = - matches!(completion.path_context, Some(PathCompletionCtx { has_call_parens: true, .. })); + matches!(completion.path_context(), Some(PathCompletionCtx { has_call_parens: true, .. })); let fields = thing.fields(completion)?; let (qualified_name, short_qualified_name, qualified) = match path { |