From 506bd956e459bd08c43ed0e7725c7ddfa23561f7 Mon Sep 17 00:00:00 2001 From: racequite Date: Mon, 16 Jun 2025 22:24:12 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: racequite --- .../build/guides/build-e2e-dapp/1-create-smart-contract.mdx | 4 ++-- apps/nextra/pages/en/build/smart-contracts/maps.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/nextra/pages/en/build/guides/build-e2e-dapp/1-create-smart-contract.mdx b/apps/nextra/pages/en/build/guides/build-e2e-dapp/1-create-smart-contract.mdx index aca75b44a..4cc38814d 100644 --- a/apps/nextra/pages/en/build/guides/build-e2e-dapp/1-create-smart-contract.mdx +++ b/apps/nextra/pages/en/build/guides/build-e2e-dapp/1-create-smart-contract.mdx @@ -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. @@ -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. diff --git a/apps/nextra/pages/en/build/smart-contracts/maps.mdx b/apps/nextra/pages/en/build/smart-contracts/maps.mdx index 87b356014..8e151f673 100644 --- a/apps/nextra/pages/en/build/smart-contracts/maps.mdx +++ b/apps/nextra/pages/en/build/smart-contracts/maps.mdx @@ -60,7 +60,7 @@ Most maps above support the same set of functions (for actual signatures and res #### Destroying Maps - `destroy_empty(self: Self)`: Destroys an empty map. (**not** supported by `Table`) -- `destroy(self: Self, dk: |K|, dv: |V|)`: Destroys a map with given functions that destroy correponding elements. (**not** supported by `Table` and `TableWithLength`) +- `destroy(self: Self, dk: |K|, dv: |V|)`: Destroys a map with given functions that destroy corresponding elements. (**not** supported by `Table` and `TableWithLength`) #### Managing Entries