diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/README.md b/editors/README.md index ad2ce1695..a63ced725 100644 --- a/editors/README.md +++ b/editors/README.md | |||
@@ -45,6 +45,8 @@ It's better to remove existing Rust plugins to avoid interference. | |||
45 | `#[test]`, this action runs this specific test. If the cursor is | 45 | `#[test]`, this action runs this specific test. If the cursor is |
46 | outside of the test function, this re-runs the last test. Do bind | 46 | outside of the test function, this re-runs the last test. Do bind |
47 | this to a shortcut! | 47 | this to a shortcut! |
48 | - **Format document**. Formats the current file with rustfmt. | ||
49 | Rustfmt must be installed separately with `rustup component add rustfmt`. | ||
48 | 50 | ||
49 | * Typing assists | 51 | * Typing assists |
50 | - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression. | 52 | - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression. |