1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00

Update modules.md (#358)

* Update modules.md

* Update modules.md

* Fix capitalisation and formatting.

---------

Co-authored-by: Andrew Walbran <qwandor@google.com>
This commit is contained in:
Charisee Chiw 2023-02-09 12:50:43 -08:00 committed by GitHub
parent 426d7d91c2
commit 1587d796cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,3 +22,11 @@ fn main() {
bar::do_something();
}
```
<details>
* Packages provide functionality and include a `Cargo.toml` file that describes how to build a bundle of 1+ crates.
* Crates are a tree of modules, where a binary crate creates an executable and a library crate compiles to a library.
* Modules define organization, scope, and is the focus of this section.
</details>