Skip to content

Commit 92dc0b8

Browse files
committed
2 parents b20d21e + c2fa1f7 commit 92dc0b8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libarena/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,6 @@ fn test_arena_destructors_fail() {
362362
}
363363

364364
/// 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.
369365
pub struct TypedArena<T> {
370366
/// A pointer to the next object to be allocated.
371367
ptr: Cell<*const T>,

0 commit comments

Comments
 (0)