Skip to content

Commit b9b2a90

Browse files
committed
Cosmetics
1 parent 169e59a commit b9b2a90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

programs/system/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ This is a `no_std` crate.
1313
Creating a new account:
1414
```rust
1515
// This example assumes that the instruction receives a writable signer `payer_info`
16-
// and `new_account` accounts.
16+
// and `new_account_info` accounts.
1717
CreateAccount {
1818
from: payer_info,
19-
to: new_account,
19+
to: new_account_info,
2020
lamports: 1_000_000_000, // 1 SOL
2121
space: 200, // 200 bytes
2222
owner: &spl_token::ID,
@@ -26,10 +26,10 @@ CreateAccount {
2626
Performing a transfer of lamports:
2727
```rust
2828
// This example assumes that the instruction receives a writable signer `payer_info`
29-
// account and a writable `recipient` account.
29+
// account and a writable `recipient_info` account.
3030
Transfer {
3131
from: payer_info,
32-
to: recipient,
32+
to: recipient_info,
3333
lamports: 500_000_000, // 0.5 SOL
3434
}.invoke()?;
3535
```

0 commit comments

Comments
 (0)