diff options
| author | bors <bors@rust-lang.org> | 2016-01-21 20:51:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-21 20:51:34 +0000 |
| commit | 46dcffd05b46e62c27629f4231fc794e94e614a8 (patch) | |
| tree | 04aeed9f309d53f198f40d31c2439681259cb51b /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 9ae76b363c1c109b1e2ab363f92ef9db80b18075 (diff) | |
| parent | ba9a3bc4533bccbb0db70bd975109916c3b8754f (diff) | |
| download | rust-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
