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
We still need to either do .unwrap() to panic or do something else to handle the case when n is zero. However, I imagine in nearly 100% cases people would just do .unwrap().
The documentation states:
This could be fixed by taking a
NonZeroUsize
instead.The text was updated successfully, but these errors were encountered: