We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b20d21e + c2fa1f7 commit 92dc0b8Copy full SHA for 92dc0b8
src/libarena/lib.rs
@@ -362,10 +362,6 @@ fn test_arena_destructors_fail() {
362
}
363
364
/// A faster arena that can hold objects of only one type.
365
-///
366
-/// Safety note: Modifying objects in the arena that have already had their
367
-/// `drop` destructors run can cause leaks, because the destructor will not
368
-/// run again for these objects.
369
pub struct TypedArena<T> {
370
/// A pointer to the next object to be allocated.
371
ptr: Cell<*const T>,
0 commit comments