by queuebert · 4y ago · 0 comments
Edit: I see now in the first example:
let (Some(count_str), Some(item)) = (it.next(), it.next()) else {
panic!("Can't segment count item pair: '{s}'");
};
Binding the error here would be much verbose, since both must succeed.Edit2: Doh, obviously `None` in this example, not `Err`.
No comments yet.