branch: elpa/rust-mode
commit 7f7b2ac38e419a1398d68b75bc25f5fa092e0152
Author: Niko Matsakis <[email protected]>
Commit: GitHub <[email protected]>
mention keybinding for rustfmt
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6067dfd..5da3b1c 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ you set the environment variable EMACS to a program that runs
emacs.
### Formatting with [rustfmt][rfmt]
The `rust-format-buffer` function will format your code with
-[rustfmt][rfmt] if installed.
+[rustfmt][rfmt] if installed. By default, this is bound to `C-c C-f`.
Placing `(setq rust-format-on-save t)` in your `~/.emacs` will enable automatic
running of `rust-format-buffer` when you save a buffer.