mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Document formatting capabilities
This commit is contained in:
parent
8b24f158f7
commit
ee9fc3f998
@ -45,6 +45,8 @@ It's better to remove existing Rust plugins to avoid interference.
|
||||
`#[test]`, this action runs this specific test. If the cursor is
|
||||
outside of the test function, this re-runs the last test. Do bind
|
||||
this to a shortcut!
|
||||
- **Format document**. Formats the current file with rustfmt.
|
||||
Rustfmt must be installed separately with `rustup component add rustfmt`.
|
||||
|
||||
* Typing assists
|
||||
- typing `let =` tries to smartly add `;` if `=` is followed by an existing expression.
|
||||
|
Loading…
Reference in New Issue
Block a user