This commit is contained in:
mepatrick73 2024-06-26 04:15:01 -04:00
parent bc84a0296b
commit 74004dbf2e
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ pub struct SmallChunk {
pub struct SmallSlice {
pub storage: StorageHandle,
pub handle: SliceHandle,
pub chunk: ChunkHandle,
pub padding: usize,
}
@ -182,7 +181,7 @@ impl SmallMemoryPool {
let padding = calculate_padding(size);
SmallSlice::new(storage, handle, chunk.handle.clone(), padding)
SmallSlice::new(storage, handle, padding)
}
/// Creates a chunk of given size by allocating on the storage.