Skip to content
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

Reordering of use statements misses comment #5566

Closed
rsalmei opened this issue Oct 19, 2022 · 2 comments
Closed

Reordering of use statements misses comment #5566

rsalmei opened this issue Oct 19, 2022 · 2 comments
Labels

Comments

@rsalmei
Copy link

rsalmei commented Oct 19, 2022

Hi, I've just stumbled on something very weird, this:

use self::unlogged::*; // unlogged token route handlers (/api/<version>/<path>).
use self::rust_results::*; // special common Rust Events' Results handler.

Gets rustfmt'ed to this:

use self::rust_results::*;
use self::unlogged::*; // unlogged token route handlers (/api/<version>/<path>). // special common Rust Events' Results handler.

I don't use any custom configuration, everything is the default.
Actually, I use the integration from JetBrains IDEs, don't know whether that could be related.
image

Thanks.

@ytmimi ytmimi added duplicate a-imports `use` syntax labels Oct 19, 2022
@ytmimi
Copy link
Contributor

ytmimi commented Oct 19, 2022

Thanks for reaching out, but going to close this as a duplicate of #3720

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2022
@rsalmei
Copy link
Author

rsalmei commented Oct 19, 2022

Sure, thank you!
I tried to find a similar issue, but couldn't find that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants