Terminating with panic! in Rust
The Rust programming language provides a few ways to terminate a program when it reaches an unrecoverable state by calling the macro std::panic! - a reference to kernel panic that I have found quite amusing. It comes in handy when an assert needs to used within code, such as for...
[Read More]