Skip to content

Commit

Permalink
Tweak imports_granularity documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
goffrie authored and calebcartwright committed Jan 17, 2021
1 parent 0d60a61 commit 17bad2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1617,15 +1617,15 @@ pub enum Foo {}

## `imports_granularity`

Merge together related imports based on their paths.
How imports should be grouped into `use` statements. Imports will be merged or split to the configured level of granularity.

- **Default value**: `Preserve`
- **Possible values**: `Preserve`, `Crate`, `Module`
- **Stable**: No

#### `Preserve` (default):

Do not perform any merging and preserve the original structure written by the developer.
Do not change the granularity of any imports and preserve the original structure written by the developer.

```rust
use foo::b;
Expand Down

0 comments on commit 17bad2b

Please sign in to comment.