Remove template code duplication
Open
Nobody has claimed this yet.
A-frontend
C-technical-debt
E-easy
P-low
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 232
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
There's some code duplication in templates that's really annoying me
Contributor guide
No contributing guide indexed for this repository
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
Start by comparing the referenced sections in templates/crate/details.html (lines 14-115) and templates/rustdoc/body.html (lines 53-118) to identify the duplicated template code and how each file uses it. Done means the shared template behavior is preserved without keeping the reported duplication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100