3 ms·
But there is for Option<u8> which is the entirety of the u8s bits if the Option is None.
by packetlost 2y ago
But there is for Option<u8> which is the entirety of the u8s bits if the Option is None.
- int_19h 2y agoI'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.