diff options
Diffstat (limited to 'tests/rustdoc/demo-allocator-54478.rs')
| -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 }); //! } //! ``` |
