about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-11 12:13:49 +0000
committerbors <bors@rust-lang.org>2017-04-11 12:13:49 +0000
commitc58c928e658d2e45f816fd05796a964aa83759da (patch)
treecb73be229a48a5d32ecdaadcc34939e87d8dc0a3 /src/test/run-pass/thinlto
parent6edc59685382d3ec0b6b89b05897a22a597c48a1 (diff)
parenta2b28be3f8f2920d39c9c87fef968d3885753ba4 (diff)
downloadrust-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