Skip to content

Commit bbce6ee

Browse files
committed
[review] expand doc configuration
1 parent 89ec6d1 commit bbce6ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Configurations.md

+5
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,11 @@ See also [`format_macro_matchers`](#format_macro_matchers).
10181018

10191019
Skip formatting the bodies of macro invocations with the following names.
10201020

1021+
rustfmt will not format any macro invocation for macros with names set in this list.
1022+
Including the special value "*" will prevent any macro invocations from being formatted.
1023+
1024+
Note: This option does not have any impact on how rustfmt formats macro definitions.
1025+
10211026
- **Default value**: `[]`
10221027
- **Possible values**: a list of macro name idents, `["name_0", "name_1", ..., "*"]`
10231028
- **Stable**: No (tracking issue: [#5346](https://github.com/rust-lang/rustfmt/issues/5346))

0 commit comments

Comments
 (0)