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 d1a7d93 commit 42f7b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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 42f7b10

Please sign in to comment.