diff --git a/.travis.yml b/.travis.yml index a96bb0812..89bc7d33c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: rust +before_script: +- rustup component add rustfmt sudo: false matrix: include: diff --git a/rustfmt.toml b/rustfmt.toml index d83d4c133..b44719ae2 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -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