Use edition 2018

This commit is contained in:
topecongiro 2019-02-08 00:22:34 +09:00
parent 4ed31b606d
commit d956980de4
3 changed files with 2 additions and 2 deletions

View file

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

View file

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

View file

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