Reformat imports to a consistent style for imports

rustfmt.toml configuration:
  imports_granularity = "One"
  group_imports = "One"
This commit is contained in:
Michael Vines
2021-12-03 09:00:31 -08:00
parent 0ef1b25e4b
commit b8837c04ec
397 changed files with 5990 additions and 5175 deletions

View File

@ -1,16 +1,19 @@
#![feature(test)]
extern crate test;
use solana_ledger::shred::Shred;
use solana_ledger::shred::SIZE_OF_DATA_SHRED_PAYLOAD;
use solana_ledger::sigverify_shreds::{
sign_shreds_cpu, sign_shreds_gpu, sign_shreds_gpu_pinned_keypair,
use {
solana_ledger::{
shred::{Shred, SIZE_OF_DATA_SHRED_PAYLOAD},
sigverify_shreds::{sign_shreds_cpu, sign_shreds_gpu, sign_shreds_gpu_pinned_keypair},
},
solana_perf::{
packet::{Packet, Packets},
recycler_cache::RecyclerCache,
},
solana_sdk::signature::Keypair,
std::sync::Arc,
test::Bencher,
};
use solana_perf::packet::{Packet, Packets};
use solana_perf::recycler_cache::RecyclerCache;
use solana_sdk::signature::Keypair;
use std::sync::Arc;
use test::Bencher;
const NUM_PACKETS: usize = 256;
const NUM_BATCHES: usize = 1;