make the TaskStorage API fallible everywhere

This commit is contained in:
Dustin J. Mitchell
2020-01-05 15:39:34 -05:00
parent 611b1cd68f
commit afd11d08a7
11 changed files with 241 additions and 75 deletions

View File

@@ -27,7 +27,7 @@ fn main() {
.unwrap();
}
("list", _) => {
for task in replica.all_tasks() {
for task in replica.all_tasks().unwrap() {
println!("{:?}", task);
}
}