summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-22 17:33:30 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-22 17:33:30 +0300
commit34b3e7fe4c1e78ce7c04ba0942c3f5a60db27785 (patch)
tree27dfb985e20767aaab8b61a7166a3e1e487c0d52 /rustfmt.toml
parentbe9a3c656938e2aefc21fdb01d1403df05b16893 (diff)
downloadobnam2-34b3e7fe4c1e78ce7c04ba0942c3f5a60db27785.tar.gz
chore: add rustfmt.toml
For some reason my new Emacs config that uses rust-analyzer requires edition to be set in rustfmt.toml, not just Cargo.toml. Sponsored-by: author
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..32a9786
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1 @@
+edition = "2018"