Skip to content

Commit 21b9838

Browse files
zubayr1febo
andauthored
Apply suggestions from code review
Co-authored-by: Fernando Otero <[email protected]>
1 parent 96029a2 commit 21b9838

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

programs/system/src/instructions/create_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub struct CreateAccount<'a> {
3131
}
3232

3333
impl<'a> CreateAccount<'a> {
34+
#[inline(always)]
3435
pub fn with_minimal_balance(
3536
from: &'a AccountInfo,
3637
to: &'a AccountInfo,

programs/system/src/instructions/create_account_with_seed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub struct CreateAccountWithSeed<'a, 'b, 'c> {
4343
}
4444

4545
impl<'a, 'b, 'c> CreateAccountWithSeed<'a, 'b, 'c> {
46+
#[inline(always)]
4647
pub fn with_minimal_balance(
4748
from: &'a AccountInfo,
4849
to: &'a AccountInfo,

0 commit comments

Comments
 (0)