about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2021-06-01 16:47:26 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2021-07-29 15:23:32 +0100
commit66f38075aff7d168795544638893d87217defe64 (patch)
tree09db5e6f321eb9a1564b9eb74bdf0aa29bd554e8 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
parentcbba940daf73abf9dc26e1f270bd1095aea7b9a3 (diff)
downloadrust-66f38075aff7d168795544638893d87217defe64.tar.gz
rust-66f38075aff7d168795544638893d87217defe64.zip
BufWriter: rename `into_parts` from `into_raw_parts`
I looked in stdlib and as @BurntSushi thought, `raw` is generally
used for raw pointers, or other hazardous kinds of thing.  stdlib does
not have `into_parts` apart from the one I added to `IntoInnerError`.

I did an ad-hoc search of the rustdocs for my current game project
Otter, which includes quite a large number of dependencies.
`into_parts` seems heavily used for things quite like this.

So change this name.

Suggested-by: Andrew Gallant <jamslam@gmail.com>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions