Skip to content

Make PageRange a trait for core::ops::Range<Page> #515

@ChocolateLoverRaj

Description

@ChocolateLoverRaj
Contributor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @ChocolateLoverRaj

      Issue actions

        Make `PageRange` a trait for `core::ops::Range<Page>` · Issue #515 · rust-osdev/x86_64