]> git.lizzy.rs Git - rust.git/commit
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)
commit2139fbdbe13dd97f44526b0834a8745c5319a8bd
tree18e56573af2e733d46cc6f190846f1c30838c82b
parent1620e92dd6a59b9663a7085d28134f0201f94596
parent8994466bfe8152f4b48aebda5324c57d7b370f10
Auto merge of #3783 - Enet4:patch-1, r=Manishearth

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.