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

@ -492,9 +492,7 @@ impl LimitByTime for Pubkey {
#[cfg(test)]
mod tests {
use super::*;
use solana_sdk::system_instruction::SystemInstruction;
use std::time::Duration;
use {super::*, solana_sdk::system_instruction::SystemInstruction, std::time::Duration};
#[test]
fn test_check_time_request_limit() {

View File

@ -1,10 +1,12 @@
use solana_faucet::faucet::{request_airdrop_transaction, run_local_faucet};
use solana_sdk::{
hash::Hash,
message::Message,
signature::{Keypair, Signer},
system_instruction,
transaction::Transaction,
use {
solana_faucet::faucet::{request_airdrop_transaction, run_local_faucet},
solana_sdk::{
hash::Hash,
message::Message,
signature::{Keypair, Signer},
system_instruction,
transaction::Transaction,
},
};
#[test]