aboutsummaryrefslogtreecommitdiffhomepage
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorMatthew Gumport <[email protected]>2024-04-08 11:53:48 -0700
committerYuchen Wu <[email protected]>2024-04-22 08:48:19 -0700
commit3675d35f1c71a1224fb7719ff22aca67b66d06ec (patch)
tree0cc8648c6796da7a7a1acb1be550b344e3262890 /.rustfmt.toml
parenta8b6bbe9f42eee6d1c771a4d38080d6a98626792 (diff)
downloadpingora-3675d35f1c71a1224fb7719ff22aca67b66d06ec.tar.gz
pingora-3675d35f1c71a1224fb7719ff22aca67b66d06ec.zip
add edition to `.rustfmt.toml`
My editor was defaulting to using the 2015 edition of the parser since that's the default for an unset edition in fmt file. This fixes that by specifying that we want to use the same edition for formatting that we do everywhere else.
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
index e69de29..3a26366 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -0,0 +1 @@
+edition = "2021"