Skip to content

Commit

Permalink
Found and Fixed some typos while reading the documentation (#410)
Browse files Browse the repository at this point in the history
"initalization" -> "initialization"
"bot" -> "not"
  • Loading branch information
RonanLagan authored Sep 3, 2024
1 parent b8bcd12 commit 15324b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/courses/onchain-development/anchor-pdas.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ impl Space for MovieAccountState {

The `Space` trait will force us to define the space of our account for
initialization, by defining the `INIT_SPACE` constant. This constant can then be
used during the account initalization.
used during the account initialization.

Note that, in this case, since the account state is dynamic (`title` and
`description` are strings without a fixed size), we will add
Expand All @@ -486,7 +486,7 @@ length storage + 4 bytes for the description length storage.
### Custom error codes

During our implementation, we will be doing some checks and throwing some custom
errors in case those checks are bot successful.
errors in case those checks are not successful.

For, that let's go ahead and create an enum that will contain the different type
of errors as well as the error messages associated:
Expand Down

0 comments on commit 15324b6

Please sign in to comment.