Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace some .ok() usage with including a constraint on Debug #169

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

leighmcculloch
Copy link
Member

What

Replace some .ok() usage with including a constraint on Debug.

Why

Similar to #161 and #162, the conversion to an Option via the .ok() fn is unnecessary and hides information that .unwrap() when called on the Result would provide.

Known limitations

[TODO or N/A]

@leighmcculloch leighmcculloch enabled auto-merge (squash) July 6, 2022 00:53
@leighmcculloch leighmcculloch merged commit b1c9a8a into main Jul 6, 2022
@leighmcculloch leighmcculloch deleted the ok branch July 6, 2022 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant