Skip to content

Commit

Permalink
Fix Important note containing CamelCase, code format entries (MystenL…
Browse files Browse the repository at this point in the history
  • Loading branch information
Clay-Mysten authored Jun 28, 2022
1 parent 70799c0 commit 430fb41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/src/build/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ read more about
[modules](https://github.com/move-language/move/blob/main/language/documentation/book/src/modules-and-scripts.md#modules)
in the Move book later.)

> **Important:** In Sui Move, package names are always in CamelCase, which
> **Important:** In Sui Move, package names are always in CamelCase, while
> the address alias is lowercase, for examples `sui = 0x2` and `std = 0x1`.
> So: Sui = name of the imported package (Sui = sui framework), sui = address
> alias of 0x2, sui::sui = module sui under the address 0x2, and
> sui::sui::SUI = type in the module above.
> So: `Sui` = name of the imported package (Sui = sui framework), `sui` = address
> alias of 0x2, `sui::sui` = module sui under the address 0x2, and
> `sui::sui::SUI` = type in the module above.
As we can see, when defining a module we specify the module name
(`Coin`), preceded by the name of the package where this module resides
Expand Down

0 comments on commit 430fb41

Please sign in to comment.