From b54b0b70232ff87ce9fd00b3d356748975d74485 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Wed, 22 May 2024 11:11:05 +0200 Subject: [PATCH] Fix test to use &mut rather than &. Closes #30 --- exercises/03_ticket_v1/10_references_in_memory/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/03_ticket_v1/10_references_in_memory/src/lib.rs b/exercises/03_ticket_v1/10_references_in_memory/src/lib.rs index 7305514..d580758 100644 --- a/exercises/03_ticket_v1/10_references_in_memory/src/lib.rs +++ b/exercises/03_ticket_v1/10_references_in_memory/src/lib.rs @@ -18,7 +18,7 @@ mod tests { #[test] fn u64_mut_ref_size() { - assert_eq!(size_of::<&u64>(), todo!()); + assert_eq!(size_of::<&mut u64>(), todo!()); } #[test] -- 2.45.2