File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ use crate::Allocator;
55/// A thread-safe pool for reusing [`Allocator`] instances to reduce allocation overhead.
66///
77/// Internally uses a `Vec` protected by a `Mutex` to store available allocators.
8- #[ derive( Default ) ]
98pub struct AllocatorPool {
109 allocators : Mutex < Vec < Allocator > > ,
1110}
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ const FOUR_GIB: usize = 1 << 32;
2222/// A thread-safe pool for reusing [`Allocator`] instances to reduce allocation overhead.
2323///
2424/// Internally uses a `Vec` protected by a `Mutex` to store available allocators.
25- #[ derive( Default ) ]
2625pub struct AllocatorPool {
2726 /// Allocators in the pool
2827 allocators : Mutex < Vec < FixedSizeAllocator > > ,
You can’t perform that action at this time.
0 commit comments