Avril 4 years ago
parent 208ca29507
commit 42aaa1c1dd
Signed by: flanchan
GPG Key ID: 284488987C31F630

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 97 KiB

@ -14,7 +14,9 @@ fn buffered_read_all_lines<T: BufRead+?Sized, F: FnMut(&str) -> io::Result<()>>(
let mut read;
let mut total=0;
while {read = input.read_line(&mut buffer)?; read!=0} {
if buffer.trim().len() > 0 {
then(&buffer[..])?;
}
buffer.clear();
total += read;
}

Loading…
Cancel
Save