Skip to content

Commit 39b3905

Browse files
committed
derive Clone and Copy for InterruptStackFrame
1 parent e18cb35 commit 39b3905

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/structures/idt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,7 @@ impl EntryOptions {
10141014
/// This wrapper type ensures that no accidental modification of the interrupt stack frame
10151015
/// occurs, which can cause undefined behavior (see the [`as_mut`](InterruptStackFrame::as_mut)
10161016
/// method for more information).
1017+
#[derive(Clone, Copy)]
10171018
#[repr(transparent)]
10181019
pub struct InterruptStackFrame(InterruptStackFrameValue);
10191020

0 commit comments

Comments
 (0)