Skip to content

Commit 50ae1b5

Browse files
JohnTitoranp
authored andcommitted
Install rustfmt to fix CI
1 parent b340248 commit 50ae1b5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services:
55
- docker
66
language: rust
77
before_install:
8+
- rustup component add rustfmt
89
- cargo fmt --all -- --check
910
install:
1011
- curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2019-10-15
1+
nightly-2020-07-27

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ macro_rules! ok_or {
1212

1313
macro_rules! ok_or_continue {
1414
($test: expr, $why: ident => $on_err: expr) => {
15-
ok_or!($test, $why => { $on_err; continue; })
15+
ok_or!($test, $why => { $on_err; continue; });
1616
};
1717
}
1818

0 commit comments

Comments
 (0)