Closed
Description
The RefCell
API offers a way to determine the state of the borrow, to avoid panics on additional borrowing. It's not clear how useful this API is in practice, but it's otherwise ready for stabilization.
EDIT: @KodrAus
Before stabilization:
- Add a concrete, motivating example to the documentation Introduce RefCell::try_borrow_unguarded #59211 (comment)