From d73dca15a600481ad15122b606c014f5d216cf10 Mon Sep 17 00:00:00 2001 From: Sam Barnes <1211977+sambarnes@users.noreply.github.com> Date: Fri, 10 Sep 2021 11:45:41 -0600 Subject: [PATCH] docs: Fix typo in tutorial/basic-1 (#703) --- docs/src/tutorials/tutorial-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/tutorial-1.md b/docs/src/tutorials/tutorial-1.md index 4f2a80e82..d6dfc05a9 100644 --- a/docs/src/tutorials/tutorial-1.md +++ b/docs/src/tutorials/tutorial-1.md @@ -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.