Remove Allocation's Clone impl.
This commit is contained in:
parent
7c5ea62156
commit
b0683c4c72
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue