Skip to content

Commit

Permalink
Use a consistent order in memory layout of trait objects example.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Jan 16, 2023
1 parent 5cbb8d4 commit 1c7ce1c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/generics/trait-objects.md
Expand Up @@ -54,13 +54,13 @@ Memory layout after allocating `xs`:
: | | '---->| "<str as Display>::fmt" | :
: | | +-------------------------+ :
: | | :
: | | +-------------------------+ :
: | '-->| "<i32 as Display>::fmt" | :
: | +-------------------------+ :
: | :
: | | +----+----+----+----+ :
: | '-->| 7b | 00 | 00 | 00 | :
: | +----+----+----+----+ :
: '---->| 7b | 00 | 00 | 00 | :
: +----+----+----+----+ :
: | :
: | +-------------------------+ :
: '---->| "<i32 as Display>::fmt" | :
: +-------------------------+ :
: :
: :
'- - - - - - - - - - - - - - - - - - - - - - - -'
Expand Down

0 comments on commit 1c7ce1c

Please sign in to comment.