]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_codegen_cranelift/src/driver/mod.rs
Auto merge of #100390 - jhpratt:float-from-bool, r=dtolnay
authorbors <bors@rust-lang.org>
Wed, 21 Dec 2022 14:27:57 +0000 (14:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 21 Dec 2022 14:27:57 +0000 (14:27 +0000)
commit49143814e145c711e9807fac6467c14090663796
tree6150bfe7e4adf1ed094791edad23f37119523259
parent1d12c3cea30b8ba4a09650a9e9c46fe9fbe25f0b
parentb134d1108ffc92bfb5081d31e5e41141f918e942
Auto merge of #100390 - jhpratt:float-from-bool, r=dtolnay

Implement `From<bool>` for f32, f64

As is required for trait implementations, these are insta-stable. Given there is a release tomorrow and this needs FCP, I set 1.65 as the stable version.

`@rustbot` label +A-floating-point +C-feature-request +needs-fcp +relnotes +S-waiting-on-review +T-libs-api -T-libs