about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-07 14:46:53 +0200
committerGitHub <noreply@github.com>2020-04-07 14:46:53 +0200
commit795bc2ccff5672389c1e9d2481f25bdcdfee299b (patch)
tree102f79b2bf4261484fb3354568a648c92c2fc2ae /src/test/rustdoc-ui/coverage/json.rs
parent39b62533c7f9d0581a6ea9b9fc2cc51f21c3b5b0 (diff)
parentf854070bb820501d88d1b029660bfde663595530 (diff)
downloadrust-795bc2ccff5672389c1e9d2481f25bdcdfee299b.tar.gz
rust-795bc2ccff5672389c1e9d2481f25bdcdfee299b.zip
Rollup merge of #70201 - cuviper:clone_into, r=dtolnay
Small tweaks in ToOwned::clone_into

- `<[T]>::clone_into` is slightly more optimized.
- `CStr::clone_into` is new, letting it reuse its allocation.
- `OsStr::clone_into` now forwards to the underlying slice/`Vec`.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions