rust-lang / rust-lang/rust-by-example
Can `fmt::Display` not be implemented for Vec<T> where T is a concrete type?
Nobody has claimed this yet.
- Dominant language
- Handlebars
- Stars
- 8.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Reading this paragraph:
https://github.com/rust-lang/rust-by-example/blob/a9fb7d13eadfcc5f457962731f105b97f9a7474a/src/hello/print/print_display.md?plain=1#L39-L44
I find it hard to believe that Display can't be implemented for Vec for concrete types T.
If that's the case, then must is too strong a word.
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
Read the linked paragraph in src/hello/print/print_display.md and verify the statement about implementing Display for Vec when T is concrete. Check the relevant Rust trait and implementation rules before proposing revised wording. Done means the example accurately describes the limitation without overstating it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100