Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Provide fallback value for unwrap where appropriate #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CosmicHorrorDev
Copy link

Addresses: #80

This PR just tries to reduce down the number of unwraps used. In general, unwrap should be avoided over traditional error handling and mitigating with unwrap_or, unwrap_or_default, expect, etc. since it introduces possible ways to crash the program.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant