Skip to content

Commit 43eb701

Browse files
authored
Merge pull request #465 from Sxmourai/master
doc: added help on update_flags to get flags
2 parents cccc19b + d82301b commit 43eb701

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

src/structures/paging/mapper/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ pub trait Mapper<S: PageSize> {
286286

287287
/// Updates the flags of an existing mapping.
288288
///
289+
/// To read the current flags of a mapped page, use the [`Translate::translate`] method.
290+
///
289291
/// ## Safety
290292
///
291293
/// This method is unsafe because changing the flags of a mapping

0 commit comments

Comments
 (0)