Skip to content

Commit

Permalink
improve doc comment
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
  • Loading branch information
Freax13 and phil-opp authored Jan 17, 2022
1 parent 4b525bb commit 38537d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registers/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ mod x86_64 {
VirtAddr::new(Self::read_raw())
}

/// Read the current page fault linear address from the CR2 register.
/// Read the current page fault linear address from the CR2 register as a raw `u64`.
#[inline]
pub fn read_raw() -> u64 {
let value: u64;
Expand Down

0 comments on commit 38537d1

Please sign in to comment.