Skip to content

Panic feature flag #80

@leudz

Description

@leudz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestergonomicsThere should be a better way to do thisgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions