-
Notifications
You must be signed in to change notification settings - Fork 926
Reorganize imports not working #1093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think it's intended to sort the used items in one line
becomes
Thats how I read the source, which I was looking at because I'd thought the same as you (that it should sort the use lines in a source file) earlier today. |
That explains it. I would really like to have an option to order the lines, too. |
Yes, me too - well, this is an issue. If you re-title to "Add reordering of use statements" or something like that, then you can make it a feature request rather than a bug report? |
Putting
reorder_imports = true
intorustfmt.toml
doesn't make rustfmt reorder imports.You can try this by cloning euclider, running
cargo fmt -- --write-mode overwrite --verbose
and looking at lines withuse
in filesrc/universe/d3/entity/surface.rs
.The text was updated successfully, but these errors were encountered: