mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
fix incorrect Box::from_raw_in doctest Now that Miri can run doctests, I ran it on liballoc, and found exactly one problem: this test creates a `Box<u8>` to deallocate a 4-byte allocation! Introduced by https://github.com/rust-lang/rust/pull/80310 so r? `@Manishearth` `@kennytm`