Skip to content

Commit

Permalink
comment deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
NIMogen committed Sep 24, 2023
1 parent 51501b1 commit 608a099
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/memory_structs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ macro_rules! implement_page_frame_range {
}

#[doc = "Returns the starting `" $chunk" ` in this range. TODO: Find an alternative to panic when called on wrong size."
// TODO: This function panics if called on a huge page of any size, and it really shouldn't. Use an alternative method for handling this case.
pub fn start(&self) -> &$chunk {
match self {
Self::Normal4KiB(pr) => {
Expand All @@ -913,7 +912,6 @@ macro_rules! implement_page_frame_range {
}

#[doc = "Returns the ending `" $chunk "` (inclusive) in this range. TODO: Find an alternative to panic when called on wrong size."]
// TODO: This function panics if called on a huge page of any size, and it really shouldn't. Use an alternative method for handling this case.
pub fn end(&self) -> &$chunk {
match self {
Self::Normal4KiB(pr) => {
Expand Down

0 comments on commit 608a099

Please sign in to comment.