File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/structures/paging/mapper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub trait Translate {
38
38
/// Returns `None` if there is no valid mapping for the given address.
39
39
///
40
40
/// This is a convenience method. For more information about a mapping see the
41
- /// [`translate`](MapperAllSizes ::translate) method.
41
+ /// [`translate`](Translate ::translate) method.
42
42
#[ inline]
43
43
fn translate_addr ( & self , addr : VirtAddr ) -> Option < PhysAddr > {
44
44
match self . translate ( addr) {
@@ -48,7 +48,7 @@ pub trait Translate {
48
48
}
49
49
}
50
50
51
- /// The return value of the [`MapperAllSizes ::translate`] function.
51
+ /// The return value of the [`Translate ::translate`] function.
52
52
///
53
53
/// If the given address has a valid mapping, a `Frame4KiB`, `Frame2MiB`, or `Frame1GiB` variant
54
54
/// is returned, depending on the size of the mapped page. The remaining variants indicate errors.
You can’t perform that action at this time.
0 commit comments