Tracking Issue for LocalKey::update (original) (raw)
Feature gate: #![feature(local_key_cell_update)]
This is a tracking issue for adding LocalKey::<Cell<T>>::update, similar to other LocalKey::<Cell<T>> methods.
Public API
impl<T: 'static> LocalKey<Cell> { pub fn update(&'static self, f: impl FnOnce(T) -> T) where T: Copy; }
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- Implementation: Add LocalKey::update #143990
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.