forked from syndicate-lang/preserves
Repair (?) warning
This commit is contained in:
parent
62d9236045
commit
d1d52c2a30
|
@ -283,7 +283,7 @@ impl<R: io::Read> io::Read for RollingBuffer<R> {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
&buf[.. n].copy_from_slice(&self.buf[i .. i + n]);
|
||||
let _ = &buf[.. n].copy_from_slice(&self.buf[i .. i + n]);
|
||||
self.pos += n;
|
||||
return Ok(n);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue