summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 94b1702db9..d6e5b5018e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,7 +43,7 @@ matrix:
# Install and run rustfmt on nightly only until rustfmt.toml settings are stabilized.
- rustup component add rustfmt-preview
- rustfmt --version
- - cargo fmt -- --write-mode=diff --unstable-features
+ - cargo fmt -- --write-mode=check --unstable-features
- language: rust
rust: beta