Skip to content

Commit 96029a2

Browse files
committed
fix formatting
1 parent 39eb37d commit 96029a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

programs/system/src/instructions/create_account.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ use pinocchio::{
22
account_info::AccountInfo,
33
instruction::{AccountMeta, Instruction, Signer},
44
program::invoke_signed,
5+
program_error::ProgramError,
56
pubkey::Pubkey,
67
sysvars::rent::Rent,
7-
program_error::ProgramError,
88
ProgramResult,
99
};
1010

@@ -35,12 +35,12 @@ impl<'a> CreateAccount<'a> {
3535
from: &'a AccountInfo,
3636
to: &'a AccountInfo,
3737
rent_sysvar: &'a AccountInfo,
38-
space: u64,
38+
space: u64,
3939
owner: &'a Pubkey,
4040
) -> Result<Self, ProgramError> {
4141
let rent = Rent::from_account_info(rent_sysvar)?;
4242
let lamports = rent.minimum_balance(space as usize);
43-
43+
4444
Ok(Self {
4545
from,
4646
to,

0 commit comments

Comments
 (0)