3 ms·
assertions often get turned off in production/release code, panics do not.
by bluejekyll 3y ago
assertions often get turned off in production/release code, panics do not.
- baby 3y agoNot in Rust. You can use debug_assert if you don’t want to assert in prod tho
- bluejekyll 3y agoI meant generally, you are absolutely correct about rust.