mirror of
https://github.com/Noratrieb/datastructures.git
synced 2026-01-14 09:25:01 +01:00
wrong memmove size
This commit is contained in:
parent
521609e769
commit
0ff7775ba8
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ impl<T, const COUNT: usize> PackedLinkedList<T, COUNT> {
|
|||
std::ptr::copy(
|
||||
&node.values[1] as *const _,
|
||||
&mut node.values[0] as *mut _,
|
||||
node.size,
|
||||
node.size - 1,
|
||||
);
|
||||
node.size -= 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue