diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-22 12:54:38 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-22 13:04:27 +0300 |
commit | 3dd616ab8c24db0dd780306c25d3097f8dcaf1f8 (patch) | |
tree | 1a09e83958b8434bb5bb7188c128b074c8ca3c91 | |
parent | d8fdbbd8134acc9b27ad3cfe68a5abf9059e9d57 (diff) | |
download | ewww-3dd616ab8c24db0dd780306c25d3097f8dcaf1f8.tar.gz |
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
-rw-r--r-- | rustfmt.toml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |