Skip to content

Commit c6109b2

Browse files
committed
doc: added help on update_flags to get flags
1 parent cccc19b commit c6109b2

File tree

1 file changed

+1
-0
lines changed
  • src/structures/paging/mapper

1 file changed

+1
-0
lines changed

src/structures/paging/mapper/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ pub trait Mapper<S: PageSize> {
293293
/// `GLOBAL` and `WRITABLE` flags for a page might result in the corruption
294294
/// of values stored in that page from processes running in other address
295295
/// spaces.
296+
/// If you instead want to get the current flags on a mapped page, you can see the trait implementation `TranslateResult::Mapped` flags
296297
unsafe fn update_flags(
297298
&mut self,
298299
page: Page<S>,

0 commit comments

Comments
 (0)