Skip to content

Commit

Permalink
Update rustfmt usage
Browse files Browse the repository at this point in the history
The new rustfmt now works in Rust stable.
  • Loading branch information
rom1v committed Dec 12, 2018
1 parent a872dd7 commit 2bf8a3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions relay-rust/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ task clean(type: Exec) {
}

task checkstyle(type: Exec) {
// --force to use the current rustfmt, the new one is only available in nightly
commandLine 'cargo', 'fmt', '--', '--write-mode=diff', '--force'
commandLine 'cargo', 'fmt', '--', '--check'
}

task check(dependsOn: ['checkstyle', 'test'])
Expand Down

0 comments on commit 2bf8a3c

Please sign in to comment.