Skip to content

Commit 0295566

Browse files
committed
Fix typo
1 parent 6f51f72 commit 0295566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/completion/src/render/builder_ext.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl Params {
2424
}
2525

2626
impl Builder {
27-
pub(super) fn should_add_parems(&self, ctx: &CompletionContext) -> bool {
27+
fn should_add_parens(&self, ctx: &CompletionContext) -> bool {
2828
if !ctx.config.add_call_parenthesis {
2929
return false;
3030
}
@@ -58,7 +58,7 @@ impl Builder {
5858
name: String,
5959
params: Params,
6060
) -> Builder {
61-
if !self.should_add_parems(ctx) {
61+
if !self.should_add_parens(ctx) {
6262
return self;
6363
}
6464

0 commit comments

Comments
 (0)