Merge pull request #3328 from topecongiro/edition-2018

Use edition 2018
This commit is contained in:
Stéphane Campinas 2019-02-08 09:35:27 +01:00 committed by GitHub
commit e28fae9974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,7 @@ readme = "README.md"
license = "Apache-2.0/MIT"
build = "build.rs"
categories = ["development-tools"]
edition = "2018"
[[bin]]
name = "rustfmt"

View File

@ -15,7 +15,7 @@ set -ex
# it again.
#
#which cargo-fmt || cargo install --force
cargo install --force
cargo install --path . --force
echo "Integration tests for: ${INTEGRATION}"
cargo fmt -- --version

View File

@ -1,4 +1,3 @@
error_on_line_overflow = true
error_on_unformatted = true
version = "Two"
edition = "2018"