mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-12 13:25:23 +02:00
Use a consistent order in memory layout of trait objects example.
This commit is contained in:
parent
5cbb8d4c27
commit
1c7ce1cac6
@ -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" | :
|
||||
: +-------------------------+ :
|
||||
: :
|
||||
: :
|
||||
'- - - - - - - - - - - - - - - - - - - - - - - -'
|
||||
|
Loading…
Reference in New Issue
Block a user