diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-06-19 18:22:33 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-07-01 19:12:29 -0700 |
| commit | d21336ee0a3982bdc35f17cdc32b41f6de5603d4 (patch) | |
| tree | 3f048e797533182728deab7c40618ce2635b9bdc /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 44ec28cfac9fa3f738e0e77ccca1d804125fd1dd (diff) | |
| download | rust-d21336ee0a3982bdc35f17cdc32b41f6de5603d4.tar.gz rust-d21336ee0a3982bdc35f17cdc32b41f6de5603d4.zip | |
rustc: Remove `&str` indexing from the language.
Being able to index into the bytes of a string encourages poor UTF-8 hygiene. To get a view of `&[u8]` from either a `String` or `&str` slice, use the `as_bytes()` method. Closes #12710. [breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
