Skip to content

Commit 33a9c97

Browse files
committed
Use a consistent order in memory layout of trait objects example.
1 parent 8098a87 commit 33a9c97

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/generics/trait-objects.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ Memory layout after allocating `xs`:
5454
: | | '---->| "<str as Display>::fmt" | :
5555
: | | +-------------------------+ :
5656
: | | :
57-
: | | +-------------------------+ :
58-
: | '-->| "<i32 as Display>::fmt" | :
59-
: | +-------------------------+ :
60-
: | :
57+
: | | +----+----+----+----+ :
58+
: | '-->| 7b | 00 | 00 | 00 | :
6159
: | +----+----+----+----+ :
62-
: '---->| 7b | 00 | 00 | 00 | :
63-
: +----+----+----+----+ :
60+
: | :
61+
: | +-------------------------+ :
62+
: '---->| "<i32 as Display>::fmt" | :
63+
: +-------------------------+ :
6464
: :
6565
: :
6666
'- - - - - - - - - - - - - - - - - - - - - - - -'

0 commit comments

Comments
 (0)