-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupLint: Belongs in the style lint group

Description
What it does
It detects imports that end in ::{self};
and emits a warning for them.
Categories (optional)
- Kind: Perhaps
clippy::style
.
The advantage of the recommended code over the original code is that it's shorter and simpler.
Drawbacks
None.
Example
use std::io::{self};
Could be written as:
use std::io;
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupLint: Belongs in the style lint group