Void is surprisingly useful.
Void is surprisingly useful.
Posted Sep 9, 2026 16:17 UTC (Wed) by NYKevin (subscriber, #129325)In reply to: Void is surprisingly useful. by alx.manpages
Parent article: Stabilizing Rust's never type
I think a better way of expressing it might be "void must be discarded."
(I was going to say "void can't be an rvalue," but your example is indeed an rvalue!)
