This commit is contained in:
Dirkjan Ochtman 2024-02-05 12:30:22 +01:00
parent b7953a4bc7
commit ca9cdfc20a
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -421,8 +421,8 @@ impl FilledDeframerBuffer for DeframerVecBuffer {
}
impl DeframerBuffer<true> for DeframerVecBuffer {
fn copy(&mut self, src: &[u8], at: usize) {
copy_into_buffer(self.unfilled(), src, at);
fn copy(&mut self, src: &[u8], _: usize) {
copy_into_buffer(self.unfilled(), src, 0);
self.advance(src.len());
}
}