Skip to content

Commit 3732583

Browse files
committed
fix: comment format
1 parent ab8a322 commit 3732583

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

benches/memory_allocator_benchmark.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ pub fn mutil_thread_random_size<const ORDER: usize>(heap: &'static LockedHeap<OR
7474
}
7575
}
7676

77-
/// # From **Hoard** benchmark: threadtest.cpp, rewrite in Rust
77+
/// Multithread benchmark inspired by **Hoard** benchmark
7878
///
79-
/// # Warnning
80-
///
81-
/// This benchmark generally needs long time to finish
79+
/// Warning: This benchmark generally needs long time to finish
8280
///
8381
/// ----------------------------------------------------------------------
8482
/// Hoard: A Fast, Scalable, and Memory-Efficient Allocator
@@ -155,7 +153,7 @@ static mut HEAP: [usize; HEAP_BLOCK] = [0; HEAP_BLOCK];
155153
#[global_allocator]
156154
static HEAP_ALLOCATOR: LockedHeap<ORDER> = LockedHeap::<ORDER>::new();
157155

158-
/// # Init heap
156+
/// Init heap
159157
///
160158
/// We need `ctor` here because benchmark is running behind the std enviroment,
161159
/// which means std will do some initialization before execute `fn main()`.

0 commit comments

Comments
 (0)