#68712 adds methods to convert RefCell
guards Ref
/RefMut
into references with the lifetime of the underlying cell.
The feature gate for the issue is #![feature(cell_leak)]
.
MutexGuard
and RwLockReadGuard
/RwLockWriteGuard
? ( Add methods to 'leak' RefCell borrows as references with the lifetime of the original reference #68712 (comment))unsafe
methods be added to forcefully revert a leak? ( Add undo_leak to reset RefCell borrow state #69528 (review))undo_leak
, would it make more sense not to return a reference (i.e., separate this from get_mut
)? ( Add undo_leak to reset RefCell borrow state #69528 (comment))gabrielfalcao, Sycration, totikom, p--b, CeleritasCelery and 5 moregabrielfalcao, Sycration and andreisilviudragneastanislav-tkach, vincent-herlemont, 197g, gabrielfalcao, Sycration and 3 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4