diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2015-04-10 18:30:52 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2015-04-10 18:30:52 +0200 |
| commit | c2fa1f769da0847581f1b43df5dd03818d418fa3 (patch) | |
| tree | b0f714ebd106da6a33322e36eb89cb5b7ff2c3a6 | |
| parent | 9539627ac76ca37d617a329dbd79c50c59cf59ee (diff) | |
| download | rust-c2fa1f769da0847581f1b43df5dd03818d418fa3.tar.gz rust-c2fa1f769da0847581f1b43df5dd03818d418fa3.zip | |
Doc: remove a "safety note" made obsolete by dropck for TypedArena
https://botbot.me/mozilla/rust-internals/2015-04-10/?msg=36316959&page=6
| -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>, |
