From 1c7ce1cac66a04594413866afd13e545c137b614 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Mon, 16 Jan 2023 15:41:17 +0000 Subject: [PATCH] Use a consistent order in memory layout of trait objects example. --- src/generics/trait-objects.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/generics/trait-objects.md b/src/generics/trait-objects.md index 140fab6f..a5489f55 100644 --- a/src/generics/trait-objects.md +++ b/src/generics/trait-objects.md @@ -54,13 +54,13 @@ Memory layout after allocating `xs`: : | | '---->| "::fmt" | : : | | +-------------------------+ : : | | : - : | | +-------------------------+ : - : | '-->| "::fmt" | : - : | +-------------------------+ : - : | : + : | | +----+----+----+----+ : + : | '-->| 7b | 00 | 00 | 00 | : : | +----+----+----+----+ : - : '---->| 7b | 00 | 00 | 00 | : - : +----+----+----+----+ : + : | : + : | +-------------------------+ : + : '---->| "::fmt" | : + : +-------------------------+ : : : : : '- - - - - - - - - - - - - - - - - - - - - - - -'