diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-19 10:18:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-19 10:18:19 -0400 |
| commit | 969e625a19694da7ec0956d2eb2d505d89f527f9 (patch) | |
| tree | fd176027408cbefa6a9902e2e221fb5e0650032c /src/test/run-pass/thinlto | |
| parent | d74c528f3a6db6a220c393690f16713b2f33bc54 (diff) | |
| parent | 963d4dfddeb302326432eb089771c4aed29f7b5c (diff) | |
| download | rust-969e625a19694da7ec0956d2eb2d505d89f527f9.tar.gz rust-969e625a19694da7ec0956d2eb2d505d89f527f9.zip | |
Rollup merge of #40603 - QuietMisdreavus:slice-ptr-docs, r=GuillaumeGomez
minor wording tweak to slice::{as_ptr, as_mut_ptr}
Per #37334, the slice-as-pointer methods mentioned that "modifying the slice may cause its buffer to be reallocated", when in fact modifying the *slice* itself would cause no such change. (It is a borrow, after all!) This is a tweak to the wording of that line to stress it's the *collection* that could cause the buffer to be reallocated.
r? @steveklabnik
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
