4 ms·
I generally just use expect(), assert!, or unreachable! rather than simply unwrap() to document the unexpected invalid state.
by ww520 4y ago
I generally just use expect(), assert!, or unreachable! rather than simply unwrap() to document the unexpected invalid state.