Skip to content

Glossary: Coding Interviews in Rust

Panic

Also written: panics, panicked

A Rust program stopping at once and printing a message, as a failed `assert_eq!` or a subtract overflow does.

Where the book teaches it

Related terms

assert_eq!