Skip to content

Commit

Permalink
Clarify format_macro_bodies description
Browse files Browse the repository at this point in the history
  • Loading branch information
trevyn authored and ytmimi committed Dec 24, 2023
1 parent d739d93 commit c926898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ See also [`format_macro_bodies`](#format_macro_bodies).

## `format_macro_bodies`

Format the bodies of macros.
Format the bodies of declarative macro definitions.

- **Default value**: `true`
- **Possible values**: `true`, `false`
Expand Down
2 changes: 1 addition & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ create_config! {
format_strings: bool, false, false, "Format string literals where necessary";
format_macro_matchers: bool, false, false,
"Format the metavariable matching patterns in macros";
format_macro_bodies: bool, true, false, "Format the bodies of macros";
format_macro_bodies: bool, true, false, "Format the bodies of declarative macro definitions";
skip_macro_invocations: MacroSelectors, MacroSelectors::default(), false,
"Skip formatting the bodies of macros invoked with the following names.";
hex_literal_case: HexLiteralCase, HexLiteralCase::Preserve, false,
Expand Down

0 comments on commit c926898

Please sign in to comment.