Skip to content

Commit

Permalink
make sure that the allocator is actually called in allocator test
Browse files Browse the repository at this point in the history
Originally authored by GnomedDev
  • Loading branch information
joboet committed Nov 25, 2024
1 parent f13ff4b commit 5e8caa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/rustdoc/demo-allocator-54478.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
//! }
//!
//! fn main() {
//! drop(String::from("An allocation"));
//! assert!(unsafe { HIT });
//! }
//! ```

0 comments on commit 5e8caa0

Please sign in to comment.