]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #103396 - RalfJung:pinning-closure-captures, r=dtolnay
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 21 Nov 2022 23:01:06 +0000 (00:01 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Nov 2022 23:01:06 +0000 (00:01 +0100)
commit3278dea67afec3b25c5fe42c6b2171f1524adc4c
tree9081386b9ba1987d1c10396b44d1a114e106159d
parentb7bc90fea3b441234a84b49fdafeb75815eebbab
parent964290a0ada338f129a0ebd006e6cd3e1f55951f
Rollup merge of #103396 - RalfJung:pinning-closure-captures, r=dtolnay

Pin::new_unchecked: discuss pinning closure captures

Regardless of how the discussion in https://github.com/rust-lang/rust/pull/102737 turns out, pinning closure captures is super subtle business and probably worth discussing separately.
library/core/src/pin.rs