From 7271fe17242b5351f5c33cca7e02c508b9ae8083 Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 16 Apr 2015 07:10:05 -0400 Subject: [PATCH] there is no point in Registers being Copy + Clone --- src/arch/x86_64/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/arch/x86_64/mod.rs b/src/arch/x86_64/mod.rs index 3f1b7a7..1dff81b 100644 --- a/src/arch/x86_64/mod.rs +++ b/src/arch/x86_64/mod.rs @@ -7,8 +7,6 @@ use super::common::{push, rust_trampoline}; pub const STACK_ALIGN: usize = 16; -#[allow(raw_pointer_derive)] -#[derive(Copy, Clone)] pub struct Registers { rsp: *mut usize }