2
0
Fork 0
mirror of https://github.com/rust-lang/rust-analyzer synced 2025-01-16 23:24:03 +00:00
rust-analyzer/editors
bors 3f4c6dac3d Auto merge of - davidsemakula:import-granularity-one, r=Veykril
feat: Add "One" import granularity

Adds a new import granularity option "One" that merges all imports into a single use statement as long as they have the same visibility and attributes.

This is similar to [rustfmt's `imports_granularity = "One"`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity).

Fixes: 
2024-01-18 15:40:12 +00:00
..
code Auto merge of - davidsemakula:import-granularity-one, r=Veykril 2024-01-18 15:40:12 +00:00