Add rustfmt.toml and cargo fmt
(#23238)
* fmt * formatted Co-authored-by: Lucas B <buffalu@jito.network>
This commit is contained in:
@@ -10,8 +10,7 @@ use {
|
||||
account::AccountSharedData,
|
||||
clock::Slot,
|
||||
hash::Hash,
|
||||
instruction::Instruction,
|
||||
instruction::InstructionError,
|
||||
instruction::{Instruction, InstructionError},
|
||||
pubkey::Pubkey,
|
||||
signature::{Keypair, Signer},
|
||||
slot_hashes::SlotHashes,
|
||||
|
@@ -10,14 +10,12 @@ use {
|
||||
solana_program_test::*,
|
||||
solana_sdk::{
|
||||
account::ReadableAccount,
|
||||
instruction::Instruction,
|
||||
instruction::InstructionError,
|
||||
instruction::{Instruction, InstructionError},
|
||||
pubkey::{Pubkey, PUBKEY_BYTES},
|
||||
signature::{Keypair, Signer},
|
||||
transaction::{Transaction, TransactionError},
|
||||
},
|
||||
std::borrow::Cow,
|
||||
std::result::Result,
|
||||
std::{borrow::Cow, result::Result},
|
||||
};
|
||||
|
||||
mod common;
|
||||
|
@@ -218,8 +218,7 @@ impl<'a> AddressLookupTable<'a> {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use solana_sdk::hash::Hash;
|
||||
use {super::*, solana_sdk::hash::Hash};
|
||||
|
||||
impl AddressLookupTable<'_> {
|
||||
fn new_for_tests(meta: LookupTableMeta, num_addresses: usize) -> Self {
|
||||
|
Reference in New Issue
Block a user