Skip to content

Commit 5c795ad

Browse files
committed
Fix doc links
1 parent 663a2eb commit 5c795ad

File tree

1 file changed

+2
-2
lines changed
  • src/structures/paging/mapper

1 file changed

+2
-2
lines changed

src/structures/paging/mapper/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub trait Translate {
3838
/// Returns `None` if there is no valid mapping for the given address.
3939
///
4040
/// This is a convenience method. For more information about a mapping see the
41-
/// [`translate`](MapperAllSizes::translate) method.
41+
/// [`translate`](Translate::translate) method.
4242
#[inline]
4343
fn translate_addr(&self, addr: VirtAddr) -> Option<PhysAddr> {
4444
match self.translate(addr) {
@@ -48,7 +48,7 @@ pub trait Translate {
4848
}
4949
}
5050

51-
/// The return value of the [`MapperAllSizes::translate`] function.
51+
/// The return value of the [`Translate::translate`] function.
5252
///
5353
/// If the given address has a valid mapping, a `Frame4KiB`, `Frame2MiB`, or `Frame1GiB` variant
5454
/// is returned, depending on the size of the mapped page. The remaining variants indicate errors.

0 commit comments

Comments
 (0)