Skip to content

Commit aa9e5b8

Browse files
authored
Fix typos in FrameRange's documentation (rust-osdev#124)
1 parent 832f4ef commit aa9e5b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootinfo/memory_map.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ impl MemoryRegion {
115115
pub struct FrameRange {
116116
/// The frame _number_ of the first 4KiB frame in the region.
117117
///
118-
/// This convert this frame number to a physical address, multiply it with the
118+
/// To convert this frame number to a physical address, multiply it with the
119119
/// page size (4KiB).
120120
pub start_frame_number: u64,
121121
/// The frame _number_ of the first 4KiB frame that does no longer belong to the region.
122122
///
123-
/// This convert this frame number to a physical address, multiply it with the
123+
/// To convert this frame number to a physical address, multiply it with the
124124
/// page size (4KiB).
125125
pub end_frame_number: u64,
126126
}

0 commit comments

Comments
 (0)