We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
use mod::submod::{self}
use mod::submod
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
Sometimes, in the course of a refactoring one starts with use mod::submod::{a, b, c, self} and then you end up with only {self}.
use mod::submod::{a, b, c, self}
{self}
I think in effectively 100% of cases it's desirable to remove the ::{self}.
::{self}
I do not believe the existing options for import formatting do this.
The text was updated successfully, but these errors were encountered:
Nope, turns out rustfmt used to do this but it's not 100% semantically equivalent: #3568
Sorry about the noise!
Sorry, something went wrong.
No branches or pull requests
Sometimes, in the course of a refactoring one starts with
use mod::submod::{a, b, c, self}
and then you end up with only{self}
.I think in effectively 100% of cases it's desirable to remove the
::{self}
.I do not believe the existing options for import formatting do this.
The text was updated successfully, but these errors were encountered: