From 1798bb6e770cb470143bf91f1e16e553aef65c63 Mon Sep 17 00:00:00 2001 From: Michael Sowka Date: Wed, 22 Jan 2020 21:01:27 +0100 Subject: [PATCH] configure rustfmt correctly --- .restyled.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.restyled.yaml b/.restyled.yaml index 0110dd635..ecb2f940f 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -1,8 +1,6 @@ ---- -image: restyled/restyler-rustfmt:v1.4.11-nightly -command: -- rustfmt -arguments: [] -include: -- "**/*.rs" -interpreters: [] +restylers: + - name: rustfmt + image: restyled/restyler-rustfmt:v1.4.11-nightly + command: [rustfmt] + include: ["**/*.rs"] + arguments: [--edition 2018]