Skip to content

Commit

Permalink
always specify <P> or <Page4K> parameters even when not needed,
Browse files Browse the repository at this point in the history
just for the sake of explicit clarity
  • Loading branch information
kevinaboos committed Nov 8, 2023
1 parent d6c65ff commit 5414390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/page_allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl<P: PageSize> AllocatedPages<P> {
/// Can be used as a placeholder, but will not permit any real usage.
pub const fn empty() -> AllocatedPages<P> {
AllocatedPages {
pages: PageRange::empty()
pages: PageRange::<P>::empty()
}
}

Expand Down

0 comments on commit 5414390

Please sign in to comment.