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,11 +1,12 @@
use solana_sdk::{
bpf_loader_upgradeable::{self, UpgradeableLoaderState},
signature::{Keypair, Signer},
transaction::Transaction,
use {
solana_program_test::ProgramTest,
solana_sdk::{
bpf_loader_upgradeable::{self, UpgradeableLoaderState},
signature::{Keypair, Signer},
transaction::Transaction,
},
};
use solana_program_test::ProgramTest;
#[tokio::test]
async fn test_bpf_loader_upgradable_present() {
// Arrange

View File

@ -2,8 +2,15 @@ use {
solana_banks_client::BanksClient,
solana_program_test::{processor, ProgramTest},
solana_sdk::{
account_info::AccountInfo, entrypoint::ProgramResult, hash::Hash, instruction::Instruction,
msg, pubkey::Pubkey, rent::Rent, signature::Keypair, signature::Signer, system_instruction,
account_info::AccountInfo,
entrypoint::ProgramResult,
hash::Hash,
instruction::Instruction,
msg,
pubkey::Pubkey,
rent::Rent,
signature::{Keypair, Signer},
system_instruction,
transaction::Transaction,
},
};