Skip to content

Commit

Permalink
set edition to 2018 and make sure travis has rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
meltinglava committed Mar 10, 2020
1 parent 1ab9f60 commit 7db4b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,4 +1,6 @@
language: rust
before_script:
- rustup component add rustfmt
sudo: false
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion rustfmt.toml
Expand Up @@ -43,7 +43,7 @@ trailing_comma = "Vertical"
match_block_trailing_comma = false
blank_lines_upper_bound = 1
blank_lines_lower_bound = 0
edition = "2015"
edition = "2018"
version = "One"
inline_attribute_width = 0
merge_derives = true
Expand Down

0 comments on commit 7db4b2d

Please sign in to comment.