mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
ef38b45e8b
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`