about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-22 06:12:52 +0000
committerbors <bors@rust-lang.org>2023-09-22 06:12:52 +0000
commitfccae08dd3eebdd718c413bed8c98b2f4e2073f6 (patch)
tree3db4e36cb538c61c2245dc224d03459578862546
parentc22bb0338a20a67b40e435e51de70867fed1ab95 (diff)
parent91b012f91d625eeedd3831e8968174a3f2d33a63 (diff)
downloadrust-fccae08dd3eebdd718c413bed8c98b2f4e2073f6.tar.gz
rust-fccae08dd3eebdd718c413bed8c98b2f4e2073f6.zip
Auto merge of #15649 - tomalexander:master, r=Veykril
Documentation: Add parenthesis to the list of on-typing assists.
-rw-r--r--crates/ide/src/typing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/typing.rs b/crates/ide/src/typing.rs
index b40509715ba..d21850bcff3 100644
--- a/crates/ide/src/typing.rs
+++ b/crates/ide/src/typing.rs
@@ -47,7 +47,7 @@ struct ExtendedTextEdit {
 // - typing `=` between two expressions adds `;` when in statement position
 // - typing `=` to turn an assignment into an equality comparison removes `;` when in expression position
 // - typing `.` in a chain method call auto-indents
-// - typing `{` in front of an expression inserts a closing `}` after the expression
+// - typing `{` or `(` in front of an expression inserts a closing `}` or `)` after the expression
 // - typing `{` in a use item adds a closing `}` in the right place
 //
 // VS Code::