2 ms·
I'm still confused. You have a grand total of 257 possible combinations here: - Some(Some(x)) for x in [0, 255] - Some(None) - None No matter how you slice
by int_19h 2y ago
I'm still confused. You have a grand total of 257 possible combinations here:
- Some(Some(x)) for x in [0, 255]
- Some(None)
- None
No matter how you slice it, you can't fit them all into 8 bits, hence why it needs an extra byte.