Skip to content

Commit bdc6924

Browse files
committed
[review] expand doc configuration
1 parent 3cad7ae commit bdc6924

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Configurations.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,11 @@ See also [`format_macro_matchers`](#format_macro_matchers).
10101010

10111011
Skip formatting the bodies of macro invocations with the following names.
10121012

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

0 commit comments

Comments
 (0)