diff options
| author | GnomedDev <david2005thomas@gmail.com> | 2024-10-16 21:10:24 +0100 |
|---|---|---|
| committer | GnomedDev <david2005thomas@gmail.com> | 2024-10-19 14:39:20 +0100 |
| commit | 0747f2898e83df7e601189c0f31762e84328becb (patch) | |
| tree | 1ec05b1af934949b2cd3bc89ef872c538db7a952 /tests/rustdoc | |
| parent | b27f33a4d9c42ee6b5347a75a8a990a883437da9 (diff) | |
| download | rust-0747f2898e83df7e601189c0f31762e84328becb.tar.gz rust-0747f2898e83df7e601189c0f31762e84328becb.zip | |
Remove the Arc rt::init allocation for thread info
Diffstat (limited to 'tests/rustdoc')
| -rw-r--r-- | tests/rustdoc/demo-allocator-54478.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 }); //! } //! ``` |
