3 ms·
My thoughts exactly. Without panic people (myself included) would just write expect("") when we want the behavior of unwrap(). I have some Rust code that I'm t
by paulgb 4y ago
My thoughts exactly. Without panic people (myself included) would just write expect("") when we want the behavior of unwrap().
I have some Rust code that I'm the only user of; in those cases I'd rather investigate an error when it comes up than spend time upfront thinking about errors that may never happen.