Port blocking stub functions to new stateful ones

This commit is contained in:
Greg Fitzgerald
2018-04-17 18:30:41 -04:00
parent 6badc98510
commit d5d133353f
4 changed files with 15 additions and 29 deletions

View File

@@ -64,7 +64,7 @@ fn main() {
eprintln!("Initializing...");
let mut entries = buffer.lines().map(|line| {
serde_json::from_str(&line.unwrap()).unwrap_or_else(|e| {
serde_json::from_str(&line).unwrap_or_else(|e| {
eprintln!("failed to parse json: {}", e);
exit(1);
})