From f4cb4b55d03260f558abd3964e0737f480c1e232 Mon Sep 17 00:00:00 2001 From: Luca Boschetto <61137723+LucaBoschetto@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:15:59 +0200 Subject: [PATCH] Update reference from Rustonomicon to Rust Reference The exercise refers to the "Data layout" section of the Rustonomicon, but now that section claims itself deprecated and redirects to the "Type layout" section of The Rust Reference. --- exercises/03_ticket_v1/09_heap/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/03_ticket_v1/09_heap/src/lib.rs b/exercises/03_ticket_v1/09_heap/src/lib.rs index 24d0c6e..7273c20 100644 --- a/exercises/03_ticket_v1/09_heap/src/lib.rs +++ b/exercises/03_ticket_v1/09_heap/src/lib.rs @@ -21,8 +21,8 @@ mod tests { // This is a tricky question! // The "intuitive" answer happens to be the correct answer this time, // but, in general, the memory layout of structs is a more complex topic. - // If you're curious, check out the "Data layout" section of the Rustonomicon - // https://doc.rust-lang.org/nomicon/data.html for more information. + // If you're curious, check out the "Type layout" section of The Rust Reference + // https://doc.rust-lang.org/reference/type-layout.html for more information. assert_eq!(size_of::(), todo!()); } }