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
What you've got is actually expected behavior. Currently the IndexMut on HashMap (which the []= syntax is using) looks up the key first and then sets the value. In this case you're seeing the panic because the lookup is failing due to the key not being present. For insertion you'll currently want to use .insert instead of the overloaded syntax.
sometimes report no entry found after send a payment
The text was updated successfully, but these errors were encountered: