News for hackers. Stuff that matters.
Re:Using enums to represent state in Rust by gaganyaan on Saturday September 23, 2023 @08:37PM (#37629020)
I haven't been following this closely, so I looked it up and it looks like that's not going to happen for the foreseeable future unfortunately:

https://github.com/rust-lang/lang-team/issues/122

Kind of a shame, but wrapper types work well enough that I understand. It does look like if there was someone with enough resources to make it happen that they'd be receptive to it.

There are no comments on this comment yet.