Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Commit

Permalink
chore: Update rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Mar 13, 2018
1 parent f72a0fe commit ae3cfe0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ matrix:
cargo +nightly-2017-10-09 install clippy --vers "$CLIPPY_VERS" --force || true
script: |
cargo +nightly-2017-10-09 clippy -- -D warnings
- rust: nightly-2017-10-09
env: RUSTFMT_VERS="0.2.8"
before_script: |
[[ "$(cargo +nightly-2017-10-09 fmt -- --version)" != "$RUSTFMT_VERS"* ]] && \
cargo +nightly-2017-10-09 install rustfmt-nightly --vers "$RUSTFMT_VERS" --force || true
script: |
cargo +nightly-2017-10-09 fmt --all -- --write-mode=diff
- rust: 1.24.0 # `stable`: Locking down for consistent behavior
env: RUSTFMT
install:
- rustup component add rustfmt-preview
script:
- cargo fmt -- --write-mode=diff
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
Expand Down
1 change: 0 additions & 1 deletion src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::fmt;
use std::process;
use std::rc;


#[derive(Clone, PartialEq, Eq)]
pub enum Content {
Str(String),
Expand Down

0 comments on commit ae3cfe0

Please sign in to comment.