Skip to content

Commit 2c86471

Browse files
authored
Merge pull request #582 from mkroening/page-typos
docs(page): fix typos
2 parents f574a1a + d2e56f7 commit 2c86471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/structures/paging/page.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl<S: PageSize> PageRangeInclusive<S> {
410410
self.start > self.end
411411
}
412412

413-
/// Returns the number of frames in the range.
413+
/// Returns the number of pages in the range.
414414
#[inline]
415415
pub fn len(&self) -> u64 {
416416
if !self.is_empty() {
@@ -420,7 +420,7 @@ impl<S: PageSize> PageRangeInclusive<S> {
420420
}
421421
}
422422

423-
/// Returns the size in bytes of all frames within the range.
423+
/// Returns the size in bytes of all pages within the range.
424424
#[inline]
425425
pub fn size(&self) -> u64 {
426426
S::SIZE * self.len()

0 commit comments

Comments
 (0)