Skip to content

Commit 8fb4155

Browse files
committed
chore: format comments and doc strings
wrap comments enables formatting of doc-strings. we have to provide comment_width since it is different from max_width
1 parent eacdf71 commit 8fb4155

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use_try_shorthand = true
22
use_field_init_shorthand = true
33
max_width = 120
4+
comment_width = 120
5+
wrap_comments = true
46
newline_style = "Unix"
57
merge_derives = true
68
condense_wildcard_suffixes = true

0 commit comments

Comments
 (0)