Skip to content

Commit 1d25271

Browse files
author
Jorge Aparicio
committed
librustrt: use #[deriving(Copy)]
1 parent 4c00756 commit 1d25271

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/rt/unwind.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,14 @@ pub mod eabi {
397397
pub struct DISPATCHER_CONTEXT;
398398

399399
#[repr(C)]
400+
#[deriving(Copy)]
400401
pub enum EXCEPTION_DISPOSITION {
401402
ExceptionContinueExecution,
402403
ExceptionContinueSearch,
403404
ExceptionNestedException,
404405
ExceptionCollidedUnwind
405406
}
406407

407-
impl Copy for EXCEPTION_DISPOSITION {}
408-
409408
type _Unwind_Personality_Fn =
410409
extern "C" fn(
411410
version: c_int,

0 commit comments

Comments
 (0)