We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Simplify the code
No response
use std::iter::{self};
Could be written as:
use std::iter;
The text was updated successfully, but these errors were encountered:
Should this be part of the fmt?
fmt
Sorry, something went wrong.
related: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_self_imports
Link to issue rust-lang/rustfmt#3568
No branches or pull requests
What it does
Simplify the code
Advantage
Drawbacks
No response
Example
Could be written as:
The text was updated successfully, but these errors were encountered: