Book: diagram takes less space and it's more symmetric.
This commit is contained in:
parent
b1605fe8f7
commit
e9f6c0f83a
1 changed files with 2 additions and 5 deletions
|
|
@ -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 |
|
||||
+-----------+
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue