#rustlang can yinz give me a concrete example of a case in your code (not stdlib) when you would want to call `panic!`?
-
-
because it shouldn't really fail ever. It makes no sense to give get_perf_event illegal fd, and you probably want to crash.
-
it's more than simplicity. If I decide to support f to fail, I need to ask myself "why would it fail?"
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.