Skip to content

Commit

Permalink
Merge pull request #40 from ardbiesheuvel/docfix
Browse files Browse the repository at this point in the history
Fix inaccurate documentation
  • Loading branch information
qwandor committed Oct 31, 2023
2 parents f58c903 + a787230 commit 1d4b4b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/idmap.rs
Expand Up @@ -248,8 +248,8 @@ impl IdMap {
///
/// The callback function receives the following arguments:
///
/// - The full virtual address range mapped by each visited page table descriptor, which may
/// exceed the original range passed to `walk_range`, due to alignment to block boundaries.
/// - The range covered by the current step in the walk. This is always a subrange of `range`
/// even when the descriptor covers a region that exceeds it.
/// - The page table descriptor itself.
/// - The level of a translation table the descriptor belongs to.
///
Expand Down
4 changes: 2 additions & 2 deletions src/linearmap.rs
Expand Up @@ -260,8 +260,8 @@ impl LinearMap {
///
/// The callback function receives the following arguments:
///
/// - The full virtual address range mapped by each visited page table descriptor, which may
/// exceed the original range passed to `walk_range`, due to alignment to block boundaries.
/// - The range covered by the current step in the walk. This is always a subrange of `range`
/// even when the descriptor covers a region that exceeds it.
/// - The page table descriptor itself.
/// - The level of a translation table the descriptor belongs to.
///
Expand Down
4 changes: 2 additions & 2 deletions src/paging.rs
Expand Up @@ -345,8 +345,8 @@ impl<T: Translation> RootTable<T> {
///
/// The callback function receives the following arguments:
///
/// - The full virtual address range mapped by each visited page table descriptor, which may
/// exceed the original range passed to `walk_range`, due to alignment to block boundaries.
/// - The range covered by the current step in the walk. This is always a subrange of `range`
/// even when the descriptor covers a region that exceeds it.
/// - The page table descriptor itself.
/// - The level of a translation table the descriptor belongs to.
///
Expand Down

0 comments on commit 1d4b4b5

Please sign in to comment.