From 2294c2d2c9518b00b8c8f89b580bf86abf110921 Mon Sep 17 00:00:00 2001 From: Sergio Lopez Date: Thu, 5 Mar 2020 13:43:00 +0100 Subject: [PATCH] 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 --- .rustfmt.toml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 000000000..c51666e8f --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +edition = "2018" \ No newline at end of file