Void is surprisingly useful.
Void is surprisingly useful.
Posted Sep 13, 2026 11:31 UTC (Sun) by alx.manpages (subscriber, #145117)In reply to: Void is surprisingly useful. by koflerdavid
Parent article: Stabilizing Rust's never type
Another --more interesting-- example is with the ternary operator:
#define assert(e) ((e) ? (void)0 : abort())
