]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #3783 - Enet4:patch-1, r=Manishearth
authorbors <bors@rust-lang.org>
Mon, 18 Feb 2019 20:05:54 +0000 (20:05 +0000)
committerbors <bors@rust-lang.org>
Mon, 18 Feb 2019 20:05:54 +0000 (20:05 +0000)
Update why transmute_int_to_float is bad

As suggested in #3550, this PR changes the reason why using `transmute` from an integer to a float is not recommended. Effectively, `from_bits` uses `transmute` underneath, but the former is preferred.


Trivial merge