Skip to content

Commit c926898

Browse files
trevynytmimi
authored andcommitted
Clarify format_macro_bodies description
1 parent d739d93 commit c926898

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Configurations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ See also [`format_macro_bodies`](#format_macro_bodies).
10981098

10991099
## `format_macro_bodies`
11001100

1101-
Format the bodies of macros.
1101+
Format the bodies of declarative macro definitions.
11021102

11031103
- **Default value**: `true`
11041104
- **Possible values**: `true`, `false`

src/config/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ create_config! {
7474
format_strings: bool, false, false, "Format string literals where necessary";
7575
format_macro_matchers: bool, false, false,
7676
"Format the metavariable matching patterns in macros";
77-
format_macro_bodies: bool, true, false, "Format the bodies of macros";
77+
format_macro_bodies: bool, true, false, "Format the bodies of declarative macro definitions";
7878
skip_macro_invocations: MacroSelectors, MacroSelectors::default(), false,
7979
"Skip formatting the bodies of macros invoked with the following names.";
8080
hex_literal_case: HexLiteralCase, HexLiteralCase::Preserve, false,

0 commit comments

Comments
 (0)