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
for x in xs {
x.value()?;
}
insert_entry(..., |buf: &mut [u8]| {
...
for x in xs {
... x.value().unwrap();
}
}
That's because the payload_initializer (the closure above) doesn't return a Result (it doesn't return anything).
We could make it return a Result and adapt the Apcb::insert_entry caller to re-shrink the group on error again.
The text was updated successfully, but these errors were encountered:
daym
changed the title
Maybe payload_initializer return a Result--and handle it in the callers
Maybe make payload_initializer return a Result--and handle it in the callers
May 25, 2022
Currently, there's a few code blocks like this:
That's because the
payload_initializer
(the closure above) doesn't return aResult
(it doesn't return anything).We could make it return a
Result
and adapt theApcb::insert_entry
caller to re-shrink the group on error again.The text was updated successfully, but these errors were encountered: