From 7bed98749fa8a1a6385a1455252c01590ee2867e Mon Sep 17 00:00:00 2001 From: Thomas Niederberger <781000+Niederb@users.noreply.github.com> Date: Wed, 5 Apr 2023 10:03:57 +0200 Subject: [PATCH] Explicitly state the edition as CLion is somehow not able to correctly pick up the edition when using rustfmt (#517) --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfmt.toml b/rustfmt.toml index 104b9aa99..01db06166 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,5 @@ # Basic +edition = "2021" hard_tabs = true max_width = 100 use_small_heuristics = "Max"