I wish this was valid: let (l, r) = [1u8, 2u8];
-
-
I think the reason for not being able to do that is (1, "123"); is a valid tuple - they allow heterogeneous types... unlike arrays.
-
*ahhhh* -- yes okay that's an excellent point!
- 1 more reply
New conversation -
-
-
FYI I don't think the memory layout of tuples is defined unless it is repr(c)
-
Ahh, yes okay that's a fair point also. I guess they *are* anonymous structs after all.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.