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
A version bump would make this possible: This affects methods like push, insert, etc.: In order to easily assert or bubble up the error, it would be nice if these methods returned Results instead of Options. This way, you can both implement From to convert it to your own error type and use unwrap for an easy "this is a bug" marker. Additionally, it warns if the result is unused.
The text was updated successfully, but these errors were encountered:
A version bump would make this possible: This affects methods like
push
,insert
, etc.: In order to easily assert or bubble up the error, it would be nice if these methods returnedResult
s instead ofOption
s. This way, you can both implementFrom
to convert it to your own error type and useunwrap
for an easy "this is a bug" marker. Additionally, it warns if the result is unused.The text was updated successfully, but these errors were encountered: