FuelLabs/sway

The formatter should alphabetize `use` statements if they're not separated by an empty line

Offen

#2.226 geöffnet am 05.07.2022

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (5.421 Forks)batch import
enhancementformattergood first issue

Repository-Metriken

Stars
 (61.702 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 22h 6m) (16 gemergte PRs in 30 T)

Beschreibung

We already alphabetize items within a single use statements. It would be nice to also alphabetize the use statements themselves if they're not separated by an empty line. This replicates the behavior of the Rust formatter.

cc @eureka-cpu couldn't find an open issue for this but please close it if it's already tracked somewhere else!

Contributor Guide