Cosmetics
parent
4cb09cd6a9
commit
5683a7d10c
|
@ -208,6 +208,7 @@ fn main() {
|
|||
fn process<D: Digest + Default, R: Read>(reader: &mut R, name: &str) {
|
||||
let mut sh = D::default();
|
||||
let mut buffer = [0u8; BUFFER_SIZE];
|
||||
|
||||
loop {
|
||||
let n = match reader.read(&mut buffer) {
|
||||
Ok(n) => n,
|
||||
|
|
Loading…
Reference in New Issue