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

Commit 0a2758e

Browse files
committed
Merge #92
92: chore: Update rustfmt r=killercup a=epage
2 parents f72a0fe + ae3cfe0 commit 0a2758e

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ matrix:
1414
cargo +nightly-2017-10-09 install clippy --vers "$CLIPPY_VERS" --force || true
1515
script: |
1616
cargo +nightly-2017-10-09 clippy -- -D warnings
17-
- rust: nightly-2017-10-09
18-
env: RUSTFMT_VERS="0.2.8"
19-
before_script: |
20-
[[ "$(cargo +nightly-2017-10-09 fmt -- --version)" != "$RUSTFMT_VERS"* ]] && \
21-
cargo +nightly-2017-10-09 install rustfmt-nightly --vers "$RUSTFMT_VERS" --force || true
22-
script: |
23-
cargo +nightly-2017-10-09 fmt --all -- --write-mode=diff
17+
- rust: 1.24.0 # `stable`: Locking down for consistent behavior
18+
env: RUSTFMT
19+
install:
20+
- rustup component add rustfmt-preview
21+
script:
22+
- cargo fmt -- --write-mode=diff
2423
before_script:
2524
- |
2625
pip install 'travis-cargo<0.2' --user &&

src/output.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use std::fmt;
66
use std::process;
77
use std::rc;
88

9-
109
#[derive(Clone, PartialEq, Eq)]
1110
pub enum Content {
1211
Str(String),

0 commit comments

Comments
 (0)