Reformat imports to a consistent style for imports
rustfmt.toml configuration: imports_granularity = "One" group_imports = "One"
This commit is contained in:
@@ -16,13 +16,13 @@ use {
|
||||
is_parsable, is_pubkey, is_pubkey_or_keypair, is_slot, is_valid_percentage,
|
||||
},
|
||||
},
|
||||
solana_ledger::entry::Entry,
|
||||
solana_ledger::{
|
||||
ancestor_iterator::AncestorIterator,
|
||||
bank_forks_utils,
|
||||
blockstore::{create_new_ledger, Blockstore, PurgeType},
|
||||
blockstore_db::{self, AccessType, BlockstoreRecoveryMode, Column, Database},
|
||||
blockstore_processor::ProcessOptions,
|
||||
entry::Entry,
|
||||
shred::Shred,
|
||||
},
|
||||
solana_runtime::{
|
||||
@@ -31,8 +31,7 @@ use {
|
||||
cost_model::CostModel,
|
||||
cost_tracker::CostTracker,
|
||||
hardened_unpack::{open_genesis_config, MAX_GENESIS_ARCHIVE_UNPACKED_SIZE},
|
||||
snapshot_utils,
|
||||
snapshot_utils::{SnapshotVersion, DEFAULT_MAX_SNAPSHOTS_TO_RETAIN},
|
||||
snapshot_utils::{self, SnapshotVersion, DEFAULT_MAX_SNAPSHOTS_TO_RETAIN},
|
||||
},
|
||||
solana_sdk::{
|
||||
account::{AccountSharedData, ReadableAccount, WritableAccount},
|
||||
|
@@ -1,8 +1,8 @@
|
||||
use assert_cmd::prelude::*;
|
||||
use solana_ledger::create_new_tmp_ledger;
|
||||
use solana_ledger::genesis_utils::create_genesis_config;
|
||||
use std::process::Command;
|
||||
use std::process::Output;
|
||||
use {
|
||||
assert_cmd::prelude::*,
|
||||
solana_ledger::{create_new_tmp_ledger, genesis_utils::create_genesis_config},
|
||||
std::process::{Command, Output},
|
||||
};
|
||||
|
||||
fn run_ledger_tool(args: &[&str]) -> Output {
|
||||
Command::cargo_bin(env!("CARGO_PKG_NAME"))
|
||||
|
Reference in New Issue
Block a user