about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-10-28 21:32:03 +0800
committerkennytm <kennytm@gmail.com>2018-10-28 21:32:03 +0800
commit360f32abf49802e7247e562a350d07695b322818 (patch)
tree2c8f78edcab37272b648366d18e0db7d3bd26ee3 /src/test/incremental/thinlto
parentb565e5d5752b995e878b7459ecea081d3e3b0dbd (diff)
parent0757c0fa7f37e1984492f4dce14b46dd686c67a9 (diff)
downloadrust-360f32abf49802e7247e562a350d07695b322818.tar.gz
rust-360f32abf49802e7247e562a350d07695b322818.zip
Rollup merge of #55421 - CAD97:patch-1, r=kennytm
Add ManuallyDrop::take

Tracking issue: #55422

Proposed in this form in https://internals.rust-lang.org/t/mini-rfc-manuallydrop-take/8679,
see that thread for some history.

A small convenience wrapper for `ManuallyDrop` that makes a pattern (taking ownership of the contained data in drop) more obvious.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions