FuelLabs/sway

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

Aberta

#2.226 aberto em 5 de jul. de 2022

 (4 comentários) (0 reação) (0 responsável)Rust (5.421 forks)batch import
enhancementformattergood first issue

Métricas do repositório

Stars
 (61.702 estrelas)
Métricas de merge de PR
 (Mesclagem média 22h 6m) (16 fundiu PRs em 30d)

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!

Guia do colaborador