about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-19 10:18:19 -0400
committerGitHub <noreply@github.com>2017-03-19 10:18:19 -0400
commit969e625a19694da7ec0956d2eb2d505d89f527f9 (patch)
treefd176027408cbefa6a9902e2e221fb5e0650032c /src/test/run-pass/thinlto
parentd74c528f3a6db6a220c393690f16713b2f33bc54 (diff)
parent963d4dfddeb302326432eb089771c4aed29f7b5c (diff)
downloadrust-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