chore(CI): Update rustc

This commit is contained in:
Ed Page 2019-06-14 14:26:13 -06:00
parent f1e3163ba2
commit feaad8d94d
2 changed files with 4 additions and 4 deletions

View file

@ -1,25 +1,24 @@
sudo: false sudo: false
language: rust language: rust
rust: rust:
- 1.31.0 # oldest supported version
- stable - stable
- beta - beta
- nightly - nightly
matrix: matrix:
include: include:
- env: RUSTFMT - env: RUSTFMT
rust: 1.31.0 # `stable`: Locking down for consistent behavior rust: 1.35.0 # `stable`: Locking down for consistent behavior
install: install:
- rustup component add rustfmt - rustup component add rustfmt
script: script:
- cargo fmt -- --check - cargo fmt -- --check
- env: RUSTFLAGS="-D warnings" - env: RUSTFLAGS="-D warnings"
rust: 1.31.0 # `stable`: Locking down for consistent behavior rust: 1.35.0 # `stable`: Locking down for consistent behavior
install: install:
script: script:
- cargo check --tests - cargo check --tests
- env: CLIPPY - env: CLIPPY
rust: 1.31.0 # `stable`: Locking down for consistent behavior rust: 1.35.0 # `stable`: Locking down for consistent behavior
install: install:
- rustup component add clippy - rustup component add clippy
script: script:

View file

@ -24,6 +24,7 @@ fn main() {
for record in &records { for record in &records {
let value = format!(r#""{}""#, &record[1]); let value = format!(r#""{}""#, &record[1]);
builder.entry(unicase::UniCase(&record[0]), &value); builder.entry(unicase::UniCase(&record[0]), &value);
break;
} }
builder.build(&mut file).unwrap(); builder.build(&mut file).unwrap();
write!(&mut file, ";\n").unwrap(); write!(&mut file, ";\n").unwrap();