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 |
|
||||
| | | 3 | 5 |
|
||||
+----|----+--------+----------+
|
||||
|
|
||||
|
|
||||
v
|
||||
| | | 3 | 5 |
|
||||
+--| ----+--------+----------+
|
||||
|
|
||||
|
|
||||
v
|
||||
+---+---+---+---+---+
|
||||
Heap: | H | e | y | ? | ? |
|
||||
+---+---+---+---+---+
|
||||
|
|
|
@ -24,14 +24,14 @@ you'll get something like this in memory:
|
|||
|
||||
```
|
||||
--------------------------------------
|
||||
| |
|
||||
| |
|
||||
+----v----+--------+----------+ +----|----+
|
||||
Stack | pointer | length | capacity | | pointer |
|
||||
| | | 3 | 5 | | |
|
||||
+----|----+--------+----------+ +---------+
|
||||
| s r
|
||||
|
|
||||
v
|
||||
| | | 3 | 5 | | |
|
||||
+--| ----+--------+----------+ +---------+
|
||||
| s r
|
||||
|
|
||||
v
|
||||
+---+---+---+---+---+
|
||||
Heap | H | e | y | ? | ? |
|
||||
+---+---+---+---+---+
|
||||
|
|
Loading…
Reference in New Issue