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
Currently in this repo every example of retrieving things from storage is either storage().get(..).unwrap() or storage().get_unchecked(..), both of which are followed by an .unwrap().
I also find it strange that it's an option wrapping a result. Intuitively to me the operation either success or fails and then the value returned is an option.
And get_unchecked makes more sense if it is not checking the de-serialization not whether the value is present.
The text was updated successfully, but these errors were encountered:
Currently in this repo every example of retrieving things from storage is either
storage().get(..).unwrap()
orstorage().get_unchecked(..)
, both of which are followed by an.unwrap()
.I also find it strange that it's an option wrapping a result. Intuitively to me the operation either success or fails and then the value returned is an option.
And
get_unchecked
makes more sense if it is not checking the de-serialization not whether the value is present.The text was updated successfully, but these errors were encountered: