We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f574a1a + d2e56f7 commit 2c86471Copy full SHA for 2c86471
1 file changed
src/structures/paging/page.rs
@@ -410,7 +410,7 @@ impl<S: PageSize> PageRangeInclusive<S> {
410
self.start > self.end
411
}
412
413
- /// Returns the number of frames in the range.
+ /// Returns the number of pages in the range.
414
#[inline]
415
pub fn len(&self) -> u64 {
416
if !self.is_empty() {
@@ -420,7 +420,7 @@ impl<S: PageSize> PageRangeInclusive<S> {
420
421
422
423
- /// Returns the size in bytes of all frames within the range.
+ /// Returns the size in bytes of all pages within the range.
424
425
pub fn size(&self) -> u64 {
426
S::SIZE * self.len()
0 commit comments