Skip to content

chore: fix some typos in comment #987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ At this point, we have successfully compiled our Move module. Yay!

We can also delete the `message_board.move` file, as we won't be using it. And remove the `message_board_addr` from the `Move.toml` file.

3. Let's make sure eveyrthing is still working by running the `npm run move:compile` command again.
3. Let's make sure everything is still working by running the `npm run move:compile` command again.

We also have a new `move/build` directory (created by the compiler) that holds our compiled modules, build information and `sources` directory.

Expand Down Expand Up @@ -597,7 +597,7 @@ use std::string; // add this

**Oh no! We got an error!**

It complains about an account mismatch. Apperantly we compiled the package with a different account we try to publish it.
It complains about an account mismatch. Apparently we compiled the package with a different account we try to publish it.

Let's fix it.

Expand Down
2 changes: 1 addition & 1 deletion apps/nextra/pages/en/build/smart-contracts/maps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Most maps above support the same set of functions (for actual signatures and res
#### Destroying Maps

- `destroy_empty<K, V>(self: Self<K, V>)`: Destroys an empty map. (**not** supported by `Table`)
- `destroy<K, V>(self: Self<K, V>, dk: |K|, dv: |V|)`: Destroys a map with given functions that destroy correponding elements. (**not** supported by `Table` and `TableWithLength`)
- `destroy<K, V>(self: Self<K, V>, dk: |K|, dv: |V|)`: Destroys a map with given functions that destroy corresponding elements. (**not** supported by `Table` and `TableWithLength`)

#### Managing Entries

Expand Down