Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Correct few typos in examples and tutorials (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
C0x41lch0x41 authored Aug 26, 2022
1 parent 9d637a6 commit ed20f7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/custom-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub struct FirstLast {

### Custom Type: Enum

Structs are stored on ledger as a two element vector, where the first element is
Enums are stored on ledger as a two element vector, where the first element is
the name of the enum variant as a string up to 10 characters in length, and the
value is the value if the variant has one.

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/write-a-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Contract {

Contract functions live inside an `impl` for a struct. The `impl` block is
annotated with `#[contractimpl]`. Functions that are intended to be called
externally are should be marked with `pub` visibility. The first argument can be
externally should be marked with `pub` visibility. The first argument can be
an `Env` argument to get a copy of the Soroban environment, which is necessary
for most things.

Expand Down

0 comments on commit ed20f7b

Please sign in to comment.