arguably, panic! could also expand to that couldn't it?
arguably, panic! could also expand to that couldn't it?
wait. this would be kinda perfect
in what way?
Panics are "unexpected" and, when they occur, we're going to unwind and be slow anyway! In most cases, I think marking it as the "cold path" would be a good default
yea..
yeah, I thought about it after posting my skeet, ur right ^^'
maybe? I know some people reuse its unwinding mechanism for more general exceptions, but they could very well be using a lower level mechanism than panic! (and I don't know if there's any stability guarantees that prevent that)