summaryrefslogtreecommitdiff
path: root/rust/src/low_level_il
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/low_level_il')
-rw-r--r--rust/src/low_level_il/block.rs14
1 files changed, 1 insertions, 13 deletions
diff --git a/rust/src/low_level_il/block.rs b/rust/src/low_level_il/block.rs
index fd3e7c81..d3b1f99b 100644
--- a/rust/src/low_level_il/block.rs
+++ b/rust/src/low_level_il/block.rs
@@ -19,7 +19,7 @@ use crate::basic_block::{BasicBlock, BlockContext};
use super::*;
-#[derive(Copy)]
+#[derive(Copy, Clone)]
pub struct LowLevelILBlock<'func, M, F>
where
M: FunctionMutability,
@@ -63,18 +63,6 @@ where
}
}
-impl<M, F> Clone for LowLevelILBlock<'_, M, F>
-where
- M: FunctionMutability,
- F: FunctionForm,
-{
- fn clone(&self) -> Self {
- LowLevelILBlock {
- function: self.function,
- }
- }
-}
-
pub struct LowLevelILBlockIter<'func, M, F>
where
M: FunctionMutability,