Skip to content

Commit f24b96b

Browse files
committed
Explain how to install rustfmt
1 parent 1584d65 commit f24b96b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ configure Tagbar to some degree.
7373
### Formatting with [rustfmt][rfmt]
7474

7575
The `:RustFmt` command will format your code with
76-
[rustfmt][rfmt] if installed.
76+
[rustfmt][rfmt] if installed. `rustfmt` can be installed
77+
via `rustup component add rustfmt`.
7778

7879
Placing `let g:rustfmt_autosave = 1` in your `~/.vimrc` will
7980
enable automatic running of `:RustFmt` when you save a buffer.

0 commit comments

Comments
 (0)