lazycell
lazycell copied to clipboard
AtomicLazyCell::fill's current documentation is incorrect
Contrary to its documentation, lazycell::AtomicLazyCell::set
can also return an error when the cell is currently being filled by another thread, which means that cell.set(v); cell.borrow()
can return None
sometimes.