diff options
| author | bors <bors@rust-lang.org> | 2017-04-11 12:13:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-04-11 12:13:49 +0000 |
| commit | c58c928e658d2e45f816fd05796a964aa83759da (patch) | |
| tree | cb73be229a48a5d32ecdaadcc34939e87d8dc0a3 /src/test/run-pass/thinlto | |
| parent | 6edc59685382d3ec0b6b89b05897a22a597c48a1 (diff) | |
| parent | a2b28be3f8f2920d39c9c87fef968d3885753ba4 (diff) | |
| download | rust-c58c928e658d2e45f816fd05796a964aa83759da.tar.gz rust-c58c928e658d2e45f816fd05796a964aa83759da.zip | |
Auto merge of #41096 - clarcharr:as_bytes_mut, r=alexcrichton
Reduce str transmutes, add mut versions of methods. When I was working on the various parts involved in #40380 one of the comments I got was the excess of transmutes necessary to make the changes work. This is part of a set of multiple changes I'd like to offer to fix this problem. I think that having these methods is reasonable because they're already possible via transmutes, and it makes the code that uses them safer. I can also add `pub(crate)` to these methods for now if the libs team would rather not expose them to the public without an RFC.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
