PistonDevelopers / PistonDevelopers/piston
Replace wildcard use with specifics to improve readability
Open
Nobody has claimed this yet.
discussion
- Dominant language
- Rust
- Stars
- 4.7k
- Forks
- 235
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
I posted about this on /r/rust and most people seemed to be for replacing
use crate::*;
with
use crate::{Struct, Struct2};
to help improve readability and make it easier for new people to understand the libraries
reddit post
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for use crate::*; and review each wildcard import in context to identify the specific names it provides. Done means the relevant wildcard imports use explicit names instead, while preserving the existing library behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100