Skip to content

Commit 5bc4db0

Browse files
format_doc_comments is stabilized as format_code_in_doc_comments
See rust-lang/rustfmt#3535 for background.
1 parent cfc0e77 commit 5bc4db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rustfmt.toml

Lines changed: 1 addition & 1 deletion
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)