Modules
Modules organize code into named namespaces. Each aspect of the module system has a dedicated chapter:
| Topic | Description |
|---|---|
| Declaration | Declaring and nesting modules |
| Items Visibility | Controlling what is exported with pub |
| Import | Bringing names into the current scope |
See Also
- Packages — how modules are bundled and distributed
- Identifiers — naming rules for modules and items