mirror of https://github.com/tracel-ai/burn.git
clippy
This commit is contained in:
parent
bc84a0296b
commit
74004dbf2e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue