Description about `Layout::array` differs from std
Open
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 2.3k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
As Layout::array's document said, when the total size would exceed isize::MAX, returns LayoutError. Not the usize::MAX.
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
Open src/vec/vec-alloc.md around lines 178–182 and compare its description of Layout::array with the linked Rust standard-library documentation. Update the limit to match the standard documentation, using isize::MAX rather than usize::MAX, and verify the surrounding explanation remains accurate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100