summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-21 20:51:34 +0000
committerbors <bors@rust-lang.org>2016-01-21 20:51:34 +0000
commit46dcffd05b46e62c27629f4231fc794e94e614a8 (patch)
tree04aeed9f309d53f198f40d31c2439681259cb51b /src/libstd/sys/unix/stack_overflow.rs
parent9ae76b363c1c109b1e2ab363f92ef9db80b18075 (diff)
parentba9a3bc4533bccbb0db70bd975109916c3b8754f (diff)
downloadrust-46dcffd05b46e62c27629f4231fc794e94e614a8.tar.gz
rust-46dcffd05b46e62c27629f4231fc794e94e614a8.zip
Auto merge of #31052 - bluss:split-at-mut-str, r=alexcrichton
Use raw pointers to avoid aliasing in str::split_at_mut

Introduce private function  from_raw_parts_mut for str to factor out the logic.

We want to use raw pointers here instead of duplicating a &mut str, to
be on safer ground w.r.t rust aliasing rules.

This has already been fixed for slices in PR #27358, issue #27357
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions