Skip to content

Commit a068ced

Browse files
Add trailing commas
1 parent ea835fc commit a068ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ide_completion/src/completions/postfix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
186186
&dot_receiver,
187187
"ok",
188188
"Ok(expr)",
189-
&format!("Ok({})", receiver_text)
189+
&format!("Ok({})", receiver_text),
190190
)
191191
.add_to(acc);
192192

@@ -196,7 +196,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
196196
&dot_receiver,
197197
"err",
198198
"Err(expr)",
199-
&format!("Err({})", receiver_text)
199+
&format!("Err({})", receiver_text),
200200
)
201201
.add_to(acc);
202202

0 commit comments

Comments
 (0)