Closed max-sixty closed 1 month ago
(inspired by @m-span's sorting, feedback welcome)
I'll merge since I don't think there's much downside. If there are merge conflicts, accepting both and running the command above + cargo clippy
should sort everything out (let me know if not, happy to help)
I occasionally sort imports in RustRover using a built in tool (Code
> Optimize Imports
), but I prefer your approach here to use rustfmt
Currently our imports are kinda all over. This uses an unstable feature to sort them into groups. While it's not possible to run this on every commit, hopefully having them in groups makes it easier to maintain.
To re-run:
...and when the feature is made stable, then we can enable it...