aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-23 00:04:46 +0000
committerFuwn <[email protected]>2021-06-23 00:04:46 +0000
commit8b6d7e3e6400157febdfb992acb7189a6bd71c5d (patch)
tree82bcc77f3ec347d61a4274fca1f3ecb0afae845d
parentfeat(cli): generate sub-command (diff)
downloadwhirl-8b6d7e3e6400157febdfb992acb7189a6bd71c5d.tar.xz
whirl-8b6d7e3e6400157febdfb992acb7189a6bd71c5d.zip
revert(fmt): error on unformatted
-rw-r--r--rustfmt.toml5
1 files changed, 1 insertions, 4 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index 777acfd..0e9396b 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -2,7 +2,7 @@ condense_wildcard_suffixes = true
edition = "2018"
enum_discrim_align_threshold = 20
error_on_line_overflow = true
-# error_on_unformatted = true
+error_on_unformatted = true
fn_single_line = true
force_multiline_blocks = true
format_code_in_doc_comments = true
@@ -28,6 +28,3 @@ use_field_init_shorthand = true
use_try_shorthand = true
where_single_line = true
wrap_comments = true
-
-# crates/whirl/src/cli.rs:9:9
-error_on_unformatted = false