Remove Allocation's Clone impl.

This commit is contained in:
Scott Olson 2016-03-05 00:50:53 -06:00
parent 7c5ea62156
commit b0683c4c72

View file

@ -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<u8>,
// TODO(tsion): relocations