Skip to content

Commit fccae08

Browse files
committed
Auto merge of #15649 - tomalexander:master, r=Veykril
Documentation: Add parenthesis to the list of on-typing assists.
2 parents c22bb03 + 91b012f commit fccae08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide/src/typing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct ExtendedTextEdit {
4747
// - typing `=` between two expressions adds `;` when in statement position
4848
// - typing `=` to turn an assignment into an equality comparison removes `;` when in expression position
4949
// - typing `.` in a chain method call auto-indents
50-
// - typing `{` in front of an expression inserts a closing `}` after the expression
50+
// - typing `{` or `(` in front of an expression inserts a closing `}` or `)` after the expression
5151
// - typing `{` in a use item adds a closing `}` in the right place
5252
//
5353
// VS Code::

0 commit comments

Comments
 (0)