Skip to content

Commit 17bad2b

Browse files
goffriecalebcartwright
authored andcommitted
Tweak imports_granularity documentation
1 parent 0d60a61 commit 17bad2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Configurations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1617,15 +1617,15 @@ pub enum Foo {}
16171617

16181618
## `imports_granularity`
16191619

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

16221622
- **Default value**: `Preserve`
16231623
- **Possible values**: `Preserve`, `Crate`, `Module`
16241624
- **Stable**: No
16251625

16261626
#### `Preserve` (default):
16271627

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

16301630
```rust
16311631
use foo::b;

0 commit comments

Comments
 (0)