summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-04-11 10:43:42 -0400
committerGitHub <noreply@github.com>2017-04-11 10:43:42 -0400
commit7f7b2ac38e419a1398d68b75bc25f5fa092e0152 (patch)
treef3ed948d0e506c5af4a2886913c5d23f9d204b8c /README.md
parentc2a0c1327758ed00d87f2536e4c6bbbeab7b395f (diff)
downloadrust-mode-7f7b2ac38e419a1398d68b75bc25f5fa092e0152.tar.gz
mention keybinding for rustfmt
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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.