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
Describe the solution you'd like
Review code that can panic and see where it makes sense to return a Result instead. For example, It is generally better to use ? than unwrapon results.
The goal is not to remove all panics but review and make sure we are using them appropriately. Bonus points for adding documentation for invariants.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Describe the solution you'd like
Review code that can panic and see where it makes sense to return a
Result
instead. For example, It is generally better to use?
thanunwrap
on results.The goal is not to remove all panics but review and make sure we are using them appropriately. Bonus points for adding documentation for invariants.
Describe alternatives you've considered
None
Additional context
List generated by https://github.com/andygrove/no-need-to-panic
The text was updated successfully, but these errors were encountered: