diff options
| -rw-r--r-- | src/libarena/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 3f85af97197..e190fb42226 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -362,10 +362,6 @@ fn test_arena_destructors_fail() { } /// A faster arena that can hold objects of only one type. -/// -/// Safety note: Modifying objects in the arena that have already had their -/// `drop` destructors run can cause leaks, because the destructor will not -/// run again for these objects. pub struct TypedArena<T> { /// A pointer to the next object to be allocated. ptr: Cell<*const T>, |
