Fix code sample output in unchecked-uninit.md

`dbg!()` prints to stderr, which I assume is the reason there is no
visible output when running the example in the book. By using
`println!()` instead, the output becomes visible.
pull/491/head
Remo Senekowitsch 1 month ago
parent c76a20f0d9
commit 0733990409
No known key found for this signature in database

@ -43,7 +43,7 @@ let x = {
unsafe { mem::transmute::<_, [Box<u32>; SIZE]>(x) } unsafe { mem::transmute::<_, [Box<u32>; SIZE]>(x) }
}; };
dbg!(x); println!("{x:?}");
``` ```
This code proceeds in three steps: This code proceeds in three steps:

Loading…
Cancel
Save