Comment by nextaccountic
2 hours ago
Note, to be more clear, an enum with no variants has no values of that type (can't be constructed), and a struct with no fields has exactly one value of that type
2 hours ago
Note, to be more clear, an enum with no variants has no values of that type (can't be constructed), and a struct with no fields has exactly one value of that type
No comments yet
Contribute on Hacker News ↗