Closed
Description
Moved from rust-lang/rust#34729
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.
Metadata
Metadata
Assignees
Labels
No labels