Fixed comment.
This commit is contained in:
parent
00c4f06292
commit
e7be2c3e99
@ -390,8 +390,9 @@ struct TypedArenaChunk<T> {
|
|||||||
next: *mut TypedArenaChunk<T>,
|
next: *mut TypedArenaChunk<T>,
|
||||||
|
|
||||||
/// The number of elements that this chunk can hold.
|
/// The number of elements that this chunk can hold.
|
||||||
// Objects follow here, suitably aligned.
|
|
||||||
capacity: usize,
|
capacity: usize,
|
||||||
|
|
||||||
|
// Objects follow here, suitably aligned.
|
||||||
}
|
}
|
||||||
|
|
||||||
fn calculate_size<T>(capacity: usize) -> usize {
|
fn calculate_size<T>(capacity: usize) -> usize {
|
||||||
|
Loading…
Reference in New Issue
Block a user