Closed frej closed 3 years ago
When the unit type is used to declare an enum variant it should be written as unit, but when used as the type of a variable or the return type of a function it should be ().
unit
()
When the
unit
type is used to declare an enum variant it should be written asunit
, but when used as the type of a variable or the return type of a function it should be()
.