5 ms·
I think the most common solution at the moment is dtolnay's no_panic [0]. That has a bunch of caveats, though, and the ergonomics leave something to be desired,
by aw1621107 11mo ago
I think the most common solution at the moment is dtolnay's no_panic [0]. That has a bunch of caveats, though, and the ergonomics leave something to be desired, so a first-party solution would probably be preferable.
[0]: https://github.com/dtolnay/no-panic https://github.com/dtolnay/no-panic