bors[bot] 77f0c92fd8
Merge #8794
8794: Give MergeBehaviour variants better names r=Veykril a=Veykril

I never really liked the variant names I gave this enum from the beginning and then I found out about rustfmt's `imports_granularity` config:

> imports_granularity
>
> 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, Item
>     Stable: No

I personally prefer using `crate` over `full` and `module` over last, they seem more descriptive. Keeping these similar between tooling also seems like a good plus point to me.

We might even wanna take over the entire enum at some point if we have a `format/cleanup imports` assists in the future which would probably want to also have the `preserve` and `item` options.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-05-10 20:10:59 +00:00
..
2021-04-19 12:26:04 -07:00
2021-05-09 14:40:49 +00:00
2021-05-10 15:10:56 +02:00
2021-05-10 20:10:59 +00:00
2021-04-18 02:14:27 +00:00
2021-05-08 23:14:08 +02:00
2021-05-10 22:10:12 +02:00
2021-05-06 20:12:15 +03:00
2021-05-10 15:25:56 +03:00