Re:Rust's Two Kinds of 'Assert' Make for Better Code
by davelee on Sunday November 24, 2024 @01:46AM
(#42226341)
Swift calls these precondition() and assert(). Preconditions are enabled in release (and debug) builds, and asserts are enabled in debug builds only.
[ Parent
| on HN ]
There are no comments on this comment yet.