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

use bail for error returns #68

Closed
wants to merge 1 commit into from
Closed

use bail for error returns #68

wants to merge 1 commit into from

Conversation

weezy20
Copy link
Contributor

@weezy20 weezy20 commented Mar 18, 2024

No description provided.

@brunopgalvao
Copy link
Contributor

Please include a description explaining the code change. Is bail preferred because it is shorthand for return Err?

@weezy20
Copy link
Contributor Author

weezy20 commented Mar 18, 2024

@brunopgalvao Apologies. Yes, that's the sole reason.

@weezy20
Copy link
Contributor Author

weezy20 commented Mar 18, 2024

Closing due to errors in the commit re. improperly closed parens.

@weezy20 weezy20 closed this Mar 18, 2024
@weezy20 weezy20 deleted the w/minor-refactor branch March 18, 2024 11:51
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.

2 participants