Revert "Reformat imports to a consistent style for imports"

This reverts commit 139d15cd84.
This commit is contained in:
Trent Nelson
2021-12-13 08:48:39 -07:00
committed by Tao Zhu
parent d1e0941289
commit d7377d4794
380 changed files with 5320 additions and 6094 deletions

View File

@@ -1,12 +1,7 @@
//! useful extras for Account state
use {
crate::{
account::{Account, AccountSharedData},
instruction::InstructionError,
},
bincode::ErrorKind,
std::cell::Ref,
};
use crate::{account::Account, account::AccountSharedData, instruction::InstructionError};
use bincode::ErrorKind;
use std::cell::Ref;
/// Convenience trait to covert bincode errors to instruction errors.
pub trait StateMut<T> {
@@ -65,10 +60,8 @@ where
#[cfg(test)]
mod tests {
use {
super::*,
crate::{account::AccountSharedData, pubkey::Pubkey},
};
use super::*;
use crate::{account::AccountSharedData, pubkey::Pubkey};
#[test]
fn test_account_state() {