mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Document }
insertion
This commit is contained in:
parent
39d59fb06f
commit
d789cf8f31
@ -42,6 +42,7 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>{";
|
|||||||
//
|
//
|
||||||
// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
|
// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
|
||||||
// - typing `.` in a chain method call auto-indents
|
// - typing `.` in a chain method call auto-indents
|
||||||
|
// - typing `{` in front of an expression inserts a closing `}` after the expression
|
||||||
//
|
//
|
||||||
// VS Code::
|
// VS Code::
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user