Document formatting capabilities

This commit is contained in:
Aleksander Vognild Burkow 2018-12-29 21:55:07 +01:00
parent 8b24f158f7
commit ee9fc3f998

View file

@ -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 `#[test]`, this action runs this specific test. If the cursor is
outside of the test function, this re-runs the last test. Do bind outside of the test function, this re-runs the last test. Do bind
this to a shortcut! 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 assists
- 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.