Skip to content

Commit 80ac28d

Browse files
committed
fix trailing whitespace
1 parent d54727e commit 80ac28d

File tree

2 files changed

+5
-5
lines changed
  • basics
    • counter/anchor/programs/counter_anchor/src
    • transfer-sol/anchor/programs/transfer-sol/src

2 files changed

+5
-5
lines changed

basics/counter/anchor/programs/counter_anchor/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ pub mod counter_anchor {
2222
pub struct InitializeCounter<'info> {
2323
#[account(mut)]
2424
pub payer: Signer<'info>,
25-
25+
2626
#[account(
27-
init,
28-
space = 8 + Counter::INIT_SPACE,
27+
init,
28+
space = 8 + Counter::INIT_SPACE,
2929
payer = payer
3030
)]
3131
pub counter: Account<'info, Counter>,
@@ -42,4 +42,4 @@ pub struct Increment<'info> {
4242
#[derive(InitSpace)]
4343
pub struct Counter {
4444
count: u64,
45-
}
45+
}

basics/transfer-sol/anchor/programs/transfer-sol/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub struct TransferSolWithCpi<'info> {
4848
pub struct TransferSolWithProgram<'info> {
4949
/// CHECK: Use owner constraint to check account is owned by the program
5050
#[account(
51-
mut,
51+
mut,
5252
owner = id()
5353
)]
5454
payer: UncheckedAccount<'info>,

0 commit comments

Comments
 (0)