From c69b9601c2c5ae2b99778b5c129f17c42b8bf1f5 Mon Sep 17 00:00:00 2001 From: David Alber Date: Wed, 29 Aug 2018 21:59:12 -0700 Subject: [PATCH] Use stable Rust in Travis CI config snippet In #2725 the Travis CI config snippet was changed to use nightly Rust because the stable rustfmt of the time (rustfmt 0.4.1-stable) did not contain the `--check` flag, which is used in the Travis config snippet. The current stable rustfmt (rustfmt 0.8.2-stable) does contain the `--check` flag, so it is now possible to use the Travis config in the README with stable rustfmt. --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 0fdd47f33f1b..37fdad5b9756 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,6 @@ A minimal Travis setup could look like this (requires Rust 1.24.0 or greater): ```yaml language: rust -rust: -- nightly before_script: - rustup component add rustfmt-preview script: