Skip to content

Commit e9f6c0f

Browse files
committed
Book: diagram takes less space and it's more symmetric.
1 parent b1605fe commit e9f6c0f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/doc/book/crates-and-modules.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ As an example, let’s make a *phrases* crate, which will give us various phrase
2222
in different languages. To keep things simple, we’ll stick to ‘greetings’ and
2323
‘farewells’ as two kinds of phrases, and use English and Japanese (日本語) as
2424
two languages for those phrases to be in. We’ll use this module layout:
25-
2625
```text
2726
+-----------+
2827
+---| greetings |
29-
| +-----------+
30-
+---------+ |
28+
+---------+ | +-----------+
3129
+---| english |---+
3230
| +---------+ | +-----------+
3331
| +---| farewells |
@@ -37,8 +35,7 @@ two languages for those phrases to be in. We’ll use this module layout:
3735
| +---| greetings |
3836
| +----------+ | +-----------+
3937
+---| japanese |--+
40-
+----------+ |
41-
| +-----------+
38+
+----------+ | +-----------+
4239
+---| farewells |
4340
+-----------+
4441
```

0 commit comments

Comments
 (0)