Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 24, 2023
1 parent ee93813 commit 4c3bf63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sidechain/consensus/slots/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ pub trait SimpleSlotWorker<ParentchainBlock: ParentchainBlockTrait> {
shard: ShardIdentifierFor<Self::Output>,
) -> Option<SlotResult<Self::Output>> {
let (_timestamp, slot) = (slot_info.timestamp, slot_info.slot);
let logging_target = self.logging_target();

let remaining_duration = self.proposing_remaining_duration(&slot_info);

Expand Down Expand Up @@ -420,8 +419,6 @@ impl<ParentchainBlock: ParentchainBlockTrait, T: SimpleSlotWorker<ParentchainBlo
slot_info: SlotInfo<ParentchainBlock>,
shards: Vec<Self::ShardIdentifier>,
) -> Self::Output {
let logging_target = SimpleSlotWorker::logging_target(self);

let mut remaining_shards = shards.len();
let mut slot_results = Vec::with_capacity(remaining_shards);

Expand Down

0 comments on commit 4c3bf63

Please sign in to comment.