Skip to content

Commit 26ad039

Browse files
committed
graph: Remove unused BlockStreamEvent::clone
1 parent 0bc87b3 commit 26ad039

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

graph/src/blockchain/block_stream.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -883,25 +883,6 @@ pub enum BlockStreamEvent<C: Blockchain> {
883883
ProcessWasmBlock(BlockPtr, BlockTime, Box<[u8]>, String, FirehoseCursor),
884884
}
885885

886-
impl<C: Blockchain> Clone for BlockStreamEvent<C>
887-
where
888-
C::TriggerData: Clone,
889-
{
890-
fn clone(&self) -> Self {
891-
match self {
892-
Self::Revert(arg0, arg1) => Self::Revert(arg0.clone(), arg1.clone()),
893-
Self::ProcessBlock(arg0, arg1) => Self::ProcessBlock(arg0.clone(), arg1.clone()),
894-
Self::ProcessWasmBlock(arg0, arg1, arg2, arg3, arg4) => Self::ProcessWasmBlock(
895-
arg0.clone(),
896-
arg1.clone(),
897-
arg2.clone(),
898-
arg3.clone(),
899-
arg4.clone(),
900-
),
901-
}
902-
}
903-
}
904-
905886
#[derive(Clone)]
906887
pub struct BlockStreamMetrics {
907888
pub deployment_head: Box<Gauge>,

0 commit comments

Comments
 (0)