docs: Fix typo in tutorial/basic-1 (#703)
This commit is contained in:
parent
c76db691cd
commit
d73dca15a6
|
@ -38,7 +38,7 @@ the `Initialize` struct, deriving `Accounts`. There are two things to notice abo
|
|||
1. The `my_account` field is of type `ProgramAccount<'info, MyAccount>`, telling the program it *must*
|
||||
be **owned** by the currently executing program, and the deserialized data structure is `MyAccount`.
|
||||
2. The `my_account` field is marked with the `init` attribute. This will create a new
|
||||
account owned by the current program, zero initialized. When using `init`, one must also provider
|
||||
account owned by the current program, zero initialized. When using `init`, one must also provide
|
||||
`payer`, which will fund the account creation, `space`, which defines how large the account should be,
|
||||
and the `system_program`, which is required by the runtime for creating the account.
|
||||
|
||||
|
|
Loading…
Reference in New Issue