Add .rustfmt.toml to the project

For rustfmt to accept modern syntax like "async move", a .rustfmt.toml
with "edition = 2018" needs to be created.

https://github.com/rust-lang/rustfmt/issues/3149

Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
Sergio Lopez 2020-03-05 13:43:00 +01:00 committed by Rob Bradford
parent 48c4885b47
commit 2294c2d2c9

1
.rustfmt.toml Normal file
View File

@ -0,0 +1 @@
edition = "2018"