You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
317: Fix use of unaligned references in example r=eldruin a=adamgreig
A recent change in Rust to deny unaligned reference by default (rust-lang/rust#95372) caused the upstream rust build of this book to break: rust-lang/rust#96108 (comment)
This PR removes the unaligned references, instead using `addr_of!()` to get a raw pointer to print.
Co-authored-by: Adam Greig <[email protected]>
0 commit comments