top | item 45978865 (no title) antihero | 3 months ago A billion alerts in DD/Sentry/whatever saying the exact problem that coincide with the exact graph of failures would probably be helpful if someone looked at them. discuss order hn newest Ygg2|3 months ago Not if everyone decides to 's/.unwrap()/.expect("Shouldn't happen")/g' in the code base.Or the good old: let x = match res { Ok(x) => x, Err(_) => unreachable!(), }
Ygg2|3 months ago Not if everyone decides to 's/.unwrap()/.expect("Shouldn't happen")/g' in the code base.Or the good old: let x = match res { Ok(x) => x, Err(_) => unreachable!(), }
Ygg2|3 months ago
Or the good old: