Skip to content

Commit 34fae92

Browse files
NathanKolpaFreax13
andauthored
Improve wording of iretq documentation
Co-authored-by: Tom Dohrmann <Erbse.13@gmx.de>
1 parent c3bd70b commit 34fae92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/idt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ pub struct InterruptStackFrameValue {
945945
impl InterruptStackFrameValue {
946946
/// Call the `iretq` (interrupt return) instruction.
947947
///
948-
/// It is not required to be in a interrupt handler to be able to call this instruction.
948+
/// This function doesn't have to be called in an interrupt handler.
949949
/// By manually construction a new [`InterruptStackFrameValue`] it's possible to transition
950950
/// from a higher privilege level to a lower one.
951951
///

0 commit comments

Comments
 (0)