You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/explorer/.cargo/registry/src/github.com-1ecc6299db9ec823/async-once-cell-0.4.2/src/lib.rs:455:51
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
here:
// Safety: initialized on all pathsOk(unsafe{(&*self.value.get()).as_ref().unwrap()})
It seems not all paths ensures value is initialised.
The text was updated successfully, but these errors were encountered:
Please check if master fixes this; I just noticed that there's a commit to fix this issue but it wasn't included in 0.4.2. I'll release 0.4.3 with that later today.
While trying to implement cell with expiration, I found that following code
playground
causes
here:
It seems not all paths ensures value is initialised.
The text was updated successfully, but these errors were encountered: