diff options
| author | Tom Alexander <tom@fizz.buzz> | 2023-09-21 14:58:24 -0400 |
|---|---|---|
| committer | Tom Alexander <tom@fizz.buzz> | 2023-09-21 14:58:24 -0400 |
| commit | 91b012f91d625eeedd3831e8968174a3f2d33a63 (patch) | |
| tree | dae6a6b4f0a4709fea74ca2eab3dc8f4d0674dcb | |
| parent | d6fef2c7e3be2783369b4b84e320b163b8fd291a (diff) | |
| download | rust-91b012f91d625eeedd3831e8968174a3f2d33a63.tar.gz rust-91b012f91d625eeedd3831e8968174a3f2d33a63.zip | |
Documentation: Add parenthesis to the list of on-typing assists.
| -rw-r--r-- | crates/ide/src/typing.rs | 2 |
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:: |
