Closed matthias-t closed 5 years ago
That code was written a while ago, but now we can just use https://doc.rust-lang.org/std/mem/fn.discriminant.html
That's pretty smart. Here you go (also sorry about being so slow, I'm quite busy and I can't code as much as I'd like to).
Yeah no worries man, we all got stuff to do.
Anyways this looks fine.
That code was written a while ago, but now we can just use https://doc.rust-lang.org/std/mem/fn.discriminant.html