]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #68066 - CAD97:stabilize-manuallydrop-take, r=Amanieu,Mark-Simulacrum
authorbors <bors@rust-lang.org>
Mon, 20 Jan 2020 20:11:20 +0000 (20:11 +0000)
committerbors <bors@rust-lang.org>
Mon, 20 Jan 2020 20:11:20 +0000 (20:11 +0000)
commitb5a3341f1b8b475990e9d1b071b88d3c280936b4
tree1f0965a577140ef2a25182189310f0e22381a0a2
parent66b0c97070f422cb82baaaafc79ee94cab4396c5
parent4e98966757cad7301ed2ae350d600c1678cc5116
Auto merge of #68066 - CAD97:stabilize-manuallydrop-take, r=Amanieu,Mark-Simulacrum

Stabilize ManuallyDrop::take

Tracking issue: closes #55422
FCP merge: https://github.com/rust-lang/rust/issues/55422#issuecomment-572653619

Reclaims the doc improvements from closed #62198.

-----

Stable version is a simple change if necessary.

Proposal: [relnotes] (this changes how to best take advantage of `ManuallyDrop`, esp. wrt. `Drop::drop` and finalize-by-value members)
src/libstd/lib.rs