From d54a1e160b7aa3fc0ccfd65813d0ec94f6507753 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 27 Jun 2024 16:16:19 +0200 Subject: [PATCH] solution to exercise 03_09 --- 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..5e24f6b 100644 --- a/exercises/03_ticket_v1/09_heap/src/lib.rs +++ b/exercises/03_ticket_v1/09_heap/src/lib.rs @@ -13,7 +13,7 @@ mod tests { #[test] fn string_size() { - assert_eq!(size_of::(), todo!()); + assert_eq!(size_of::(), 24); } #[test] @@ -23,6 +23,6 @@ mod tests { // 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. - assert_eq!(size_of::(), todo!()); + assert_eq!(size_of::(), 72); } }