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,10 +1,12 @@
use crate::{
account::{AccountSharedData, ReadableAccount},
account_utils::StateMut,
hash::Hash,
nonce::{state::Versions, State},
use {
crate::{
account::{AccountSharedData, ReadableAccount},
account_utils::StateMut,
hash::Hash,
nonce::{state::Versions, State},
},
std::cell::RefCell,
};
use std::cell::RefCell;
pub fn create_account(lamports: u64) -> RefCell<AccountSharedData> {
RefCell::new(
@ -40,8 +42,7 @@ pub fn lamports_per_signature_of(account: &AccountSharedData) -> Option<u64> {
#[cfg(test)]
mod tests {
use super::*;
use crate::pubkey::Pubkey;
use {super::*, crate::pubkey::Pubkey};
#[test]
fn test_verify_bad_account_owner_fails() {