IIRC this is true only about casting.
In memory right now bool is UB. meaning no matter what you transmute to bool that is UB.
@rustlang
-
-
I can't see to see that definition memory wise. Only in casting. "If you cast a bool into an integer, true will be 1 and false will be 0." And in the reference it only talks about taking 1 byte In memory
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.