File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl UsedLevel4Entries {
9595 used
9696 }
9797
98- /// Mark all p4 entries in the range `[address..address+size)` as used.
98+ /// Marks all p4 entries in the range `[address..address+size)` as used.
9999 ///
100100 /// `size` can be a `u64` or `usize`.
101101 fn mark_range_as_used < S > ( & mut self , address : u64 , size : S )
@@ -131,7 +131,7 @@ impl UsedLevel4Entries {
131131 }
132132 }
133133
134- /// Returns a unused level 4 entry and marks it as used. If `CONFIG.aslr` is
134+ /// Returns an unused level 4 entry and marks it as used. If `CONFIG.aslr` is
135135 /// enabled, this will return a random available entry.
136136 ///
137137 /// Since this method marks each returned index as used, it can be used multiple times
@@ -164,7 +164,7 @@ impl UsedLevel4Entries {
164164
165165 /// Returns a virtual address in an unused level 4 entry and marks it as used.
166166 ///
167- /// This functions call [`get_free_entry`] internally, so all of its docs applies here
167+ /// This function calls [`get_free_entry`] internally, so all of its docs applies here
168168 /// too.
169169 pub fn get_free_address ( & mut self , size : u64 , alignment : u64 ) -> VirtAddr {
170170 assert ! ( alignment. is_power_of_two( ) ) ;
You can’t perform that action at this time.
0 commit comments