rust-osdev / rust-osdev/x86_64
Make `PageRange` a trait for `core::ops::Range<Page>`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 940
- Forks
- 157
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 3
Description
This has the advantage of getting all the functions of the standard Range and still having specific functions for a range of pages.
Also the Debug with the start..end that core has looks better imo than debug_struct
I can make a PR for this.
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 locating the PageRange definition and its implementations, then compare their API and Debug behavior with core::ops::Range. Make PageRange a trait for the standard range while preserving page-specific functions and the start..end Debug format; verify that existing users and tests still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100