]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #50995 - fbstj:patch-1, r=cramertj
authorkennytm <kennytm@gmail.com>
Thu, 24 May 2018 08:02:46 +0000 (16:02 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 24 May 2018 09:34:54 +0000 (17:34 +0800)
commit99de8ab38b282b83553a10e5dd0e83976ee33af0
tree7f8789632d41ab46f46172a142bc9932404c0ce9
parent79a2676ce0ad6196b6d212c65147e78bf797fe29
parent1977c62339acceabe711d8ca6bf9404475c7f75d
Rollup merge of #50995 - fbstj:patch-1, r=cramertj

move type out of unsafe block

from https://github.com/rust-lang/rust/pull/50863#discussion_r190213000

move the union definition outside of the unsafe block as it's definition is not unsafe