some clippy fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-09-11 12:06:59 +02:00
parent ef0338d497
commit 653b1ca10e
14 changed files with 34 additions and 35 deletions

View File

@ -453,8 +453,8 @@ impl <S: ReadChunk> BufferedFixedReader<S> {
let archive_size = index.size;
Self {
store,
index: index,
archive_size: archive_size,
index,
archive_size,
read_buffer: Vec::with_capacity(1024*1024),
buffered_chunk_idx: 0,
buffered_chunk_start: 0,