From 3dd616ab8c24db0dd780306c25d3097f8dcaf1f8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 22 Jul 2021 12:54:38 +0300 Subject: chore: add rustfmt.toml to force rustfmt to use 2018 edition My new Emacs config with rustic and rust-analyzer doesn't catch the setting in Config.toml, and complains that main is async. See also https://github.com/rust-lang/rustfmt/issues/4454 . Sponsored-by: author --- 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 0000000..c51666e --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +edition = "2018" \ No newline at end of file -- cgit v1.2.1