#rustlang can yinz give me a concrete example of a case in your code (not stdlib) when you would want to call `panic!`?
-
-
All the actual examples I can find are C++ and debug only, so maybe it's not a good argument.
-
Things like being on the right thread or checking that a structure has valid data before acting on it.
- 2 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.