diff --git a/tasks/benchmark/src/lib.rs b/tasks/benchmark/src/lib.rs index ac1dc14492871..c92a9194a02ba 100644 --- a/tasks/benchmark/src/lib.rs +++ b/tasks/benchmark/src/lib.rs @@ -24,7 +24,7 @@ static GLOBAL: NeverGrowInPlaceAllocator = NeverGrowInPlaceAllocator; /// [`GlobalAlloc::realloc`] implementation which *never* grows in place. /// It therefore represents the "worse case scenario" for memory allocation performance. /// This behavior is consistent and predictable, and therefore stabilizes benchmark results. -pub struct NeverGrowInPlaceAllocator; +struct NeverGrowInPlaceAllocator; // SAFETY: Methods simply delegate to `System` allocator #[expect(unsafe_code, clippy::undocumented_unsafe_blocks)]