about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-04-11 19:05:17 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-04-11 19:05:17 +0530
commit1e3fd25b6b21acabe3d531dd0f76950931a13e8d (patch)
tree78fb9ca7d5ea73871381ee602d01fae99b4ae283
parentdf8360f4fc068930bae19cbc173c10235b56dfc5 (diff)
parentc2fa1f769da0847581f1b43df5dd03818d418fa3 (diff)
downloadrust-1e3fd25b6b21acabe3d531dd0f76950931a13e8d.tar.gz
rust-1e3fd25b6b21acabe3d531dd0f76950931a13e8d.zip
Rollup merge of #24282 - SimonSapin:patch-6, r=pnkfelix
 https://botbot.me/mozilla/rust-internals/2015-04-10/?msg=36316959&page=6
-rw-r--r--src/libarena/lib.rs4
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>,