From 0747f2898e83df7e601189c0f31762e84328becb Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Wed, 16 Oct 2024 21:10:24 +0100 Subject: Remove the Arc rt::init allocation for thread info --- tests/rustdoc/demo-allocator-54478.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/rustdoc') diff --git a/tests/rustdoc/demo-allocator-54478.rs b/tests/rustdoc/demo-allocator-54478.rs index dd98e80f03a..80acfc0ff58 100644 --- a/tests/rustdoc/demo-allocator-54478.rs +++ b/tests/rustdoc/demo-allocator-54478.rs @@ -40,6 +40,7 @@ //! } //! //! fn main() { +//! drop(String::from("An allocation")); //! assert!(unsafe { HIT }); //! } //! ``` -- cgit 1.4.1-3-g733a5