Rollup merge of #24282 - SimonSapin:patch-6, r=pnkfelix

https://botbot.me/mozilla/rust-internals/2015-04-10/?msg=36316959&page=6
This commit is contained in:
Manish Goregaokar 2015-04-11 19:05:17 +05:30
commit 1e3fd25b6b
1 changed files with 0 additions and 4 deletions

View File

@ -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>,