Align arrows in diagrams (#39)
This commit is contained in:
parent
a9ba34c59a
commit
ab39f443dc
|
@ -81,11 +81,11 @@ s.push_str("Hey");
|
||||||
```
|
```
|
||||||
+---------+--------+----------+
|
+---------+--------+----------+
|
||||||
Stack | pointer | length | capacity |
|
Stack | pointer | length | capacity |
|
||||||
| | | 3 | 5 |
|
| | | 3 | 5 |
|
||||||
+----|----+--------+----------+
|
+--| ----+--------+----------+
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
v
|
v
|
||||||
+---+---+---+---+---+
|
+---+---+---+---+---+
|
||||||
Heap: | H | e | y | ? | ? |
|
Heap: | H | e | y | ? | ? |
|
||||||
+---+---+---+---+---+
|
+---+---+---+---+---+
|
||||||
|
|
|
@ -27,11 +27,11 @@ you'll get something like this in memory:
|
||||||
| |
|
| |
|
||||||
+----v----+--------+----------+ +----|----+
|
+----v----+--------+----------+ +----|----+
|
||||||
Stack | pointer | length | capacity | | pointer |
|
Stack | pointer | length | capacity | | pointer |
|
||||||
| | | 3 | 5 | | |
|
| | | 3 | 5 | | |
|
||||||
+----|----+--------+----------+ +---------+
|
+--| ----+--------+----------+ +---------+
|
||||||
| s r
|
| s r
|
||||||
|
|
|
|
||||||
v
|
v
|
||||||
+---+---+---+---+---+
|
+---+---+---+---+---+
|
||||||
Heap | H | e | y | ? | ? |
|
Heap | H | e | y | ? | ? |
|
||||||
+---+---+---+---+---+
|
+---+---+---+---+---+
|
||||||
|
|
Loading…
Reference in New Issue