5 ms·
> For historical reasons and convenience, the tuple type with no elements (()) is often called ‘unit’ or ‘the unit type’. https://doc.rust-lang.org/reference.h
by joliv 10y ago
> For historical reasons and convenience, the tuple type with no elements (()) is often called ‘unit’ or ‘the unit type’.
https://doc.rust-lang.org/reference.html https://doc.rust-lang.org/reference.html