Skip to content

Commit b68e035

Browse files
committed
Update imports
1 parent 2be6dc4 commit b68e035

13 files changed

+14
-15
lines changed

programs/system/src/instructions/advance_nonce_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
5+
ProgramResult,
66
};
77

88
/// Consumes a stored nonce, replacing it with a successor.

programs/system/src/instructions/allocate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
5+
ProgramResult,
66
};
77

88
/// Allocate space in a (possibly new) account without funding.

programs/system/src/instructions/allocate_with_seed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Allocate space for and assign an account at an address derived

programs/system/src/instructions/assign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Assign account to a program

programs/system/src/instructions/assign_with_seed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Assign account to a program based on a seed.

programs/system/src/instructions/authorize_nonce_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Change the entity authorized to execute nonce instructions on the account.

programs/system/src/instructions/create_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Create a new account.

programs/system/src/instructions/create_account_with_seed.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Create a new account at an address derived from a base pubkey and a seed.
@@ -12,8 +12,7 @@ use pinocchio::{
1212
/// 0. `[WRITE, SIGNER]` Funding account
1313
/// 1. `[WRITE]` Created account
1414
/// 2. `[SIGNER]` (optional) Base account; the account matching the base Pubkey below must be
15-
/// provided as a signer, but may be the same as the funding account
16-
///
15+
/// provided as a signer, but may be the same as the funding account
1716
pub struct CreateAccountWithSeed<'a, 'b, 'c> {
1817
/// Funding account.
1918
pub from: &'a AccountInfo,

programs/system/src/instructions/initialize_nonce_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
65
pubkey::Pubkey,
6+
ProgramResult,
77
};
88

99
/// Drive state of Uninitialized nonce account to Initialized, setting the nonce value.

programs/system/src/instructions/transfer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use pinocchio::{
22
account_info::AccountInfo,
3-
entrypoint::ProgramResult,
43
instruction::{AccountMeta, Instruction, Signer},
54
program::invoke_signed,
5+
ProgramResult,
66
};
77

88
/// Transfer lamports.

0 commit comments

Comments
 (0)