Skip to content

Commit

Permalink
Merge pull request #427 from Qix-/off-by-one-docs
Browse files Browse the repository at this point in the history
Fix off-by-one in documentation
  • Loading branch information
Freax13 authored Jun 21, 2023
2 parents 9e0a8d1 + 0aa78ee commit ae5c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/paging/page_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const ENTRY_COUNT: usize = 512;
/// Always page-sized.
///
/// This struct implements the `Index` and `IndexMut` traits, so the entries can be accessed
/// through index operations. For example, `page_table[15]` returns the 15th page table entry.
/// through index operations. For example, `page_table[15]` returns the 16th page table entry.
///
/// Note that while this type implements [`Clone`], the users must be careful not to introduce
/// mutable aliasing by using the cloned page tables.
Expand Down

0 comments on commit ae5c6ec

Please sign in to comment.