From b0683c4c72d3476ca8d9fe28bf52347f58949a3a Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Sat, 5 Mar 2016 00:50:53 -0600 Subject: [PATCH] Remove Allocation's Clone impl. --- src/memory.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/memory.rs b/src/memory.rs index 0fe2b735671b..efaf33867de1 100644 --- a/src/memory.rs +++ b/src/memory.rs @@ -15,8 +15,7 @@ pub struct Memory { #[derive(Copy, Clone, Debug, Eq, PartialEq)] pub struct AllocId(u64); -// TODO(tsion): Shouldn't clone Allocation. (Audit the rest of the code.) -#[derive(Clone, Debug)] +#[derive(Debug)] pub struct Allocation { pub bytes: Vec, // TODO(tsion): relocations