tree-wide: use the new vec/io tools modules

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller committed 2019-05-23 09:49:10 +02:00
1 parent 6f0069ae1e
commit 8ea3b1d188
5 files changed
+21 -17

No files matched your search

+1 -1
View File
@@ -302,7 +302,7 @@ pub fn file_chunker<C, R>(
if chunk_size > READ_BUFFER_SIZE { bail!("chunk size too large!"); }
let mut buf = vec![0u8; READ_BUFFER_SIZE];
let mut buf = vec::undefined(READ_BUFFER_SIZE);
let mut pos = 0;
let mut file_pos = 0;