aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-11-30 10:45:32 +0000
committerAleksey Kladov <[email protected]>2020-12-01 10:56:46 +0000
commit02955661a0e8b39fd0b887b245f0e1284ea8f504 (patch)
treebdb58d6aa959a0129e2937c884279b0993c741eb /crates
parent6f51f728a114078a0c3a029fc66cfb8c4daf9a28 (diff)
Fix typo
Diffstat (limited to 'crates')
-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