mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-28 09:53:19 +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:
parent
426d7d91c2
commit
1587d796cb
@ -22,3 +22,11 @@ fn main() {
|
|||||||
bar::do_something();
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user