Closed nyurik closed 4 months ago
@danielrh when you have a chance, please merge this one first because it is fairly tricky to keep rebasing it. This is a noop - it just moves the use
statements around to make them more readable - and makes it possible to remove dead code and unused lints in the future. Thx!
This PR is a follow up to #180. If you merge it first, this PR will be much smaller, and easier to see the manual changes. Or just apply this one directly and close #180.
No code changes - only re-sorting the
use
andextern
declarations.!#[allow(unused_imports)]
#![...]
from the rest of the code with a newline (otherwise easy to miss the!
and think it relates to just one line)I used unstable nightly fmt for this PR, which is a superset of the standard
fmt
-- so CI would pass this, and once in a while we can re-run these commands to keep things tidier.Note that the above steps can also be done with
just fmt2