Re:Such a Little Thing: The Semicolon in Rust
by kibwen on Friday October 19, 2012 @08:47AM
(#4673254)
In Rust, nil is the name for the unit type (written as empty parentheses, like "()"), used whenever a function doesn't return anything meaningful. You're correct in that instead of null pointers it has the None variant of the Option enum.
[ Parent
| on HN ]
There are no comments on this comment yet.