-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
enhancementNew feature or requestNew feature or requestergonomicsThere should be a better way to do thisThere should be a better way to do thisgood first issueGood for newcomersGood for newcomers
Description
Shipyard offers alternative try_*
version of all fallible functions.
However it's not always easy to spot a function that could panic while reading code or during code review as @colelawrence pointed out.
It's especially bad in some cases like get
when a function with this name usually doesn't panic.
To solve this problem all functions that could panic will be feature gated.
It will be a default feature so all users that don't disable them won't see any change.
zicklag
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestergonomicsThere should be a better way to do thisThere should be a better way to do thisgood first issueGood for newcomersGood for newcomers