Post #2227738
2025-11-19 08:58 UTC
@Mara@hachyderm.io Quite a good suggestion. It makes panicking an intentional outcome rather than an accidental one.
FWIW I don't know if many people liked unwrap(), but they really didn't like Aaron Turon's suggestion of assert()
Replies (1)
-
@tauon@possum.city 2025-11-19 09:30
@timClicks@mastodon.nz @Mara@hachyderm.io ehhh i can see why assert makes sense but i think or_panic is nicer