rust/src/libcore/ptr
Mazdak Farrokhzad f43ced3dbc
Rollup merge of #67462 - DutchGhost:const_slice_from_raw_parts, r=dtolnay
Make ptr::slice_from_raw_parts a const fn available under a feature flag

A first step in the direction of https://github.com/rust-lang/rust/issues/67456 .
This makes `ptr::slice_from_raw_parts` and `ptr::slice_from_raw_parts_mut` available as a const fn under a feature flag.
2019-12-21 15:29:47 +01:00
..
const_ptr.rs Split up ptr/mod.rs in libcore, one with implementation detail for const ptr and the other with mut ptr 2019-12-19 09:01:26 +01:00
mod.rs Rollup merge of #67462 - DutchGhost:const_slice_from_raw_parts, r=dtolnay 2019-12-21 15:29:47 +01:00
mut_ptr.rs Split up ptr/mod.rs in libcore, one with implementation detail for const ptr and the other with mut ptr 2019-12-19 09:01:26 +01:00
non_null.rs Propagate cfg bootstrap 2019-12-18 12:16:19 -05:00
unique.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00