diff options
| author | Steven Burns <royalstream@hotmail.com> | 2016-06-04 14:04:17 -0600 |
|---|---|---|
| committer | Steven Burns <royalstream@hotmail.com> | 2016-06-04 14:04:17 -0600 |
| commit | e9f6c0f83a2f5e52d249b0a6d46d1c894936211a (patch) | |
| tree | 0c47f83454b40b36c8d7f3565d2ee817dc914660 | |
| parent | b1605fe8f70a36c5b0596cce1fe32a606a275af6 (diff) | |
| download | rust-e9f6c0f83a2f5e52d249b0a6d46d1c894936211a.tar.gz rust-e9f6c0f83a2f5e52d249b0a6d46d1c894936211a.zip | |
Book: diagram takes less space and it's more symmetric.
| -rw-r--r-- | src/doc/book/crates-and-modules.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/doc/book/crates-and-modules.md b/src/doc/book/crates-and-modules.md index 43ac30c35c6..67fe8ba2c11 100644 --- a/src/doc/book/crates-and-modules.md +++ b/src/doc/book/crates-and-modules.md @@ -22,12 +22,10 @@ As an example, let’s make a *phrases* crate, which will give us various phrase in different languages. To keep things simple, we’ll stick to ‘greetings’ and ‘farewells’ as two kinds of phrases, and use English and Japanese (日本語) as two languages for those phrases to be in. We’ll use this module layout: - ```text +-----------+ +---| greetings | - | +-----------+ - +---------+ | + +---------+ | +-----------+ +---| english |---+ | +---------+ | +-----------+ | +---| farewells | @@ -37,8 +35,7 @@ two languages for those phrases to be in. We’ll use this module layout: | +---| greetings | | +----------+ | +-----------+ +---| japanese |--+ - +----------+ | - | +-----------+ + +----------+ | +-----------+ +---| farewells | +-----------+ ``` |
