about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteven Burns <royalstream@hotmail.com>2016-06-04 14:04:17 -0600
committerSteven Burns <royalstream@hotmail.com>2016-06-04 14:04:17 -0600
commite9f6c0f83a2f5e52d249b0a6d46d1c894936211a (patch)
tree0c47f83454b40b36c8d7f3565d2ee817dc914660
parentb1605fe8f70a36c5b0596cce1fe32a606a275af6 (diff)
downloadrust-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.md7
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 |
                                     +-----------+
 ```