Skip to content

Commit 390ae79

Browse files
committed
Use nightly Rust in Travis CI config snippet
The current stable rustfmt (rustfmt 0.4.1-stable) does not contain the `--check` flag, which is used in the Travis config snippet. Once a new stable version is released, the snippet can be switched back to stable Rust.
1 parent e83c7ff commit 390ae79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ A minimal Travis setup could look like this (requires Rust 1.24.0 or greater):
134134

135135
```yaml
136136
language: rust
137+
rust:
138+
- nightly
137139
before_script:
138140
- rustup component add rustfmt-preview
139141
script:

0 commit comments

Comments
 (0)