diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2014-12-14 23:19:48 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2014-12-19 10:51:00 -0500 |
| commit | 1d25271e054fdefe5e940ab4cc5e098f47c46966 (patch) | |
| tree | 4bc8bf59a9041e3f49ccb36c353ff3130e5d7b15 /src/libstd/rt | |
| parent | 4c007568bfb27fc4ac6cc2dd485099836c6af702 (diff) | |
| download | rust-1d25271e054fdefe5e940ab4cc5e098f47c46966.tar.gz rust-1d25271e054fdefe5e940ab4cc5e098f47c46966.zip | |
librustrt: use `#[deriving(Copy)]`
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/unwind.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/rt/unwind.rs b/src/libstd/rt/unwind.rs index 5d5440b887d..4d5feaa2454 100644 --- a/src/libstd/rt/unwind.rs +++ b/src/libstd/rt/unwind.rs @@ -397,6 +397,7 @@ pub mod eabi { pub struct DISPATCHER_CONTEXT; #[repr(C)] + #[deriving(Copy)] pub enum EXCEPTION_DISPOSITION { ExceptionContinueExecution, ExceptionContinueSearch, @@ -404,8 +405,6 @@ pub mod eabi { ExceptionCollidedUnwind } - impl Copy for EXCEPTION_DISPOSITION {} - type _Unwind_Personality_Fn = extern "C" fn( version: c_int, |
