]> git.lizzy.rs Git - PAKEs.git/commitdiff
travis: cargo fmt now wants --check
authorBrian Warner <warner@lothar.com>
Tue, 16 Oct 2018 22:07:07 +0000 (15:07 -0700)
committerBrian Warner <warner@lothar.com>
Tue, 16 Oct 2018 22:07:26 +0000 (15:07 -0700)
.travis.yml

index e23b82ee2e1863c740c96e84cac9e933d9f5766f..e12f11185e5c3460e0a277ecaebad14d5c2343c1 100644 (file)
@@ -10,7 +10,7 @@ matrix:
       install:
         - rustup component add rustfmt-preview
       script:
-        - cargo fmt -- --write-mode=diff
+        - cargo fmt -- --check
   allow_failures:
     - rust: nightly
 script: cargo test --release --verbose --all