Skip to content

Commit

Permalink
Remove unused imports after search and replace
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Sep 25, 2024
1 parent 92637a5 commit 7e917a3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion crates/sc-proof-of-time/src/verifier/tests.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::verifier::PotVerifier;
use sp_consensus_slots::Slot;
use sp_consensus_subspace::{PotNextSlotInput, PotParametersChange};
use std::mem;
use std::num::NonZeroU32;
use subspace_core_primitives::{Blake3Hash, PotSeed};

Expand Down
1 change: 0 additions & 1 deletion crates/subspace-core-primitives/src/checksum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
mod tests;

use crate::Blake3Hash;
use core::mem;
use parity_scale_codec::{Decode, Encode, EncodeLike, Error, Input, Output};

/// Output wrapper for SCALE codec that will write Blake3 checksum at the end of the encoding
Expand Down
1 change: 0 additions & 1 deletion crates/subspace-core-primitives/src/checksum/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use super::Blake3Checksummed;
use crate::Blake3Hash;
use parity_scale_codec::{Decode, Encode};
use rand::prelude::*;
use std::mem;

#[test]
fn basic() {
Expand Down
1 change: 0 additions & 1 deletion crates/subspace-farmer-components/src/plotting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use futures::StreamExt;
use parity_scale_codec::{Decode, Encode};
use parking_lot::Mutex;
use rayon::prelude::*;
use std::mem;
use std::simd::Simd;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-farmer/src/disk_piece_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use std::fs::{File, OpenOptions};
use std::path::Path;
use std::sync::Arc;
use std::task::Poll;
use std::{fs, io, mem};
use std::{fs, io};
use subspace_core_primitives::crypto::blake3_hash_list;
use subspace_core_primitives::{Blake3Hash, Piece, PieceIndex};
use subspace_farmer_components::file_ext::FileExt;
Expand Down

0 comments on commit 7e917a3

Please sign in to comment.