Skip to content

Commit

Permalink
remove allow dead_code
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Nov 27, 2024
1 parent 2df8cf1 commit c43f9fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/engine/tree/src/tree/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ pub(crate) type StateRootResult = Result<(B256, TrieUpdates), ParallelStateRootE

/// Handle to a spawned state root task.
#[derive(Debug)]
#[allow(dead_code)]
pub(crate) struct StateRootHandle {
/// Channel for receiving the final result.
rx: mpsc::Receiver<StateRootResult>,
}

#[allow(dead_code)]
impl StateRootHandle {
/// Creates a new handle from a receiver.
pub(crate) const fn new(rx: mpsc::Receiver<StateRootResult>) -> Self {
Expand Down Expand Up @@ -86,7 +84,6 @@ impl StdReceiverStream {

/// Messages used internally by the state root task
#[derive(Debug)]
#[allow(dead_code)]
pub(crate) enum StateRootMessage {
/// New state update from transaction execution
StateUpdate(EvmState),
Expand Down

0 comments on commit c43f9fa

Please sign in to comment.