`isolate_highest_one` should mention `next_power_of_two`
Open
Beginner friendly
Nobody has claimed this yet.
A-docs
needs-triage
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Location (URL)
https://doc.rust-lang.org/1.97.0/std/primitive.u32.html#method.isolate_highest_one
Summary
isolate_highest_one behaves like a hypothetical prev_power_of_two (for unsigned ints), so it should have a "see also" linking to next_power_of_two, and vice-versa
The method was added in this PR: #136910
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
Start from the u32 documentation pages for isolate_highest_one and next_power_of_two linked in the issue, and inspect their existing "see also" sections. Add reciprocal links between the two methods, then verify the generated documentation shows both links correctly.
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
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100