You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a short debate on the IRC over whether true as i32 is guaranteed to be 1, and false as i32 is guaranteed to be 0, I think that the semantics section on casts should explicitly describe what a bool as integer_type cast does.
The text was updated successfully, but these errors were encountered:
After a short debate on the IRC over whether
true as i32
is guaranteed to be1
, andfalse as i32
is guaranteed to be0
, I think that the semantics section on casts should explicitly describe what abool as integer_type
cast does.The text was updated successfully, but these errors were encountered: