]> git.lizzy.rs Git - rust.git/commit
Auto merge of #23333 - oli-obk:slice_from_raw_parts, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 14 Mar 2015 08:55:31 +0000 (08:55 +0000)
committerbors <bors@rust-lang.org>
Sat, 14 Mar 2015 08:55:31 +0000 (08:55 +0000)
commit766a4e1acc06061a30cf456840a9915526fb681e
tree16d2c602028d25d21f28b2d28b69a334e7c849d3
parentf7453f940b6cbc2b07a2c0d7612a11fa435aad95
parent85080fa81d3ae6770eb228a982670746e55bf4d9
Auto merge of #23333 - oli-obk:slice_from_raw_parts, r=alexcrichton

at least that's what the docs say: http://doc.rust-lang.org/std/slice/fn.from_raw_parts.html

A few situations got prettier. In some situations the mutability of the resulting and source pointers differed (and was cast away by transmute), the mutability matches now.
src/librustc_llvm/lib.rs
src/libstd/old_io/mod.rs
src/libstd/sys/common/wtf8.rs