Void is surprisingly useful.
Void is surprisingly useful.
Posted Sep 9, 2026 17:05 UTC (Wed) by iabervon (subscriber, #722)In reply to: Void is surprisingly useful. by NYKevin
Parent article: Stabilizing Rust's never type
Yeah, that's what I meant. And C started out thinking of types as "how do I interpret the bits in memory or registers" which doesn't encourage having () or ! as types, so void is kind of all of these plus an unsafe Any depending on where you used it instead of a regular type, for one of those use cases.
