Skip to content

Commit

Permalink
Stabilize ignore config option (rust-lang#4139)
Browse files Browse the repository at this point in the history
  • Loading branch information
topecongiro authored and bradleypmartin committed May 25, 2020
1 parent b042b37 commit cbf44c8
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 @@ -1051,7 +1051,7 @@ The pattern format is the same as [.gitignore](https://git-scm.com/docs/gitignor

- **Default value**: format every file
- **Possible values**: See an example below
- **Stable**: No (tracking issue: [#3395](https://github.com/rust-lang/rustfmt/issues/3395))
- **Stable**: Yes

### Example

Expand Down
2 changes: 1 addition & 1 deletion rustfmt-core/rustfmt-lib/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ create_config! {
error_on_unformatted: bool, false, false,
"Error if unable to get comments or string literals within max_width, \
or they are left with trailing whitespaces";
ignore: IgnoreList, IgnoreList::default(), false,
ignore: IgnoreList, IgnoreList::default(), true,
"Skip formatting the specified files and directories";

// Not user-facing
Expand Down

0 comments on commit cbf44c8

Please sign in to comment.