6c28ad61a2
New functions, `slice::from_raw_parts` and `slice::from_raw_parts_mut`, are added to implement the lifetime convention as agreed in rust-lang/rfcs#556. The functions `slice::from_raw_buf` and `slice::from_raw_mut_buf` are left deprecated for the time being. Holding back on changing the signature of `std::ffi::c_str_to_bytes` as consensus in rust-lang/rfcs#592 is building to replace it with a composition of other functions. Contribution to #21923. |
||
---|---|---|
.. | ||
backtrace.rs | ||
c.rs | ||
condvar.rs | ||
ext.rs | ||
fs.rs | ||
handle.rs | ||
helper_signal.rs | ||
mod.rs | ||
mutex.rs | ||
os_str.rs | ||
os.rs | ||
pipe.rs | ||
process.rs | ||
rwlock.rs | ||
stack_overflow.rs | ||
sync.rs | ||
tcp.rs | ||
thread_local.rs | ||
thread.rs | ||
time.rs | ||
timer.rs | ||
tty.rs | ||
udp.rs |