Skip to content

Commit c30af7b

Browse files
format_doc_comments is stabilized as format_code_in_doc_comments
See rust-lang/rustfmt#3535 for background. Signed-off-by: Christopher Maier <[email protected]>
1 parent 4a76cfa commit c30af7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rustfmt.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
edition = "2018"
33
fn_args_layout = "Tall"
44
force_explicit_abi = true
5+
format_code_in_doc_comments = true
56
hard_tabs = false
67
max_width = 100
78
merge_derives = false
@@ -27,7 +28,6 @@ empty_item_single_line = true
2728
enum_discrim_align_threshold = 50
2829
fn_single_line = true
2930
force_multiline_blocks = true
30-
format_doc_comments = true
3131
format_macro_bodies = true
3232
format_macro_matchers = true
3333
format_strings = true

0 commit comments

Comments
 (0)