3 ms·
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, E
by Ygg2 11mo 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!(),
}