aboutsummaryrefslogtreecommitdiff
path: root/crates/completion
diff options
context:
space:
mode:
Diffstat (limited to 'crates/completion')
-rw-r--r--crates/completion/src/render/builder_ext.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/completion/src/render/builder_ext.rs b/crates/completion/src/render/builder_ext.rs
index 37b0d0459..79599de4b 100644
--- a/crates/completion/src/render/builder_ext.rs
+++ b/crates/completion/src/render/builder_ext.rs
@@ -24,7 +24,7 @@ impl Params {
24} 24}
25 25
26impl Builder { 26impl Builder {
27 pub(super) fn should_add_parems(&self, ctx: &CompletionContext) -> bool { 27 fn should_add_parens(&self, ctx: &CompletionContext) -> bool {
28 if !ctx.config.add_call_parenthesis { 28 if !ctx.config.add_call_parenthesis {
29 return false; 29 return false;
30 } 30 }
@@ -58,7 +58,7 @@ impl Builder {
58 name: String, 58 name: String,
59 params: Params, 59 params: Params,
60 ) -> Builder { 60 ) -> Builder {
61 if !self.should_add_parems(ctx) { 61 if !self.should_add_parens(ctx) {
62 return self; 62 return self;
63 } 63 }
64 64