FuelLabs/sway
The formatter should alphabetize `use` statements if they're not separated by an empty line
Ouverte
#2 226 ouverte le 5 juil. 2022
enhancementformattergood first issue
Métriques du dépôt
- Stars
- (61 702 étoiles)
- Métriques de merge PR
- (Merge moyen 22h 6m) (16 PRs mergées en 30 j)
Description
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!