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

Be more explicit for the return of Loop #122

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Be more explicit for the return of Loop #122

merged 1 commit into from
Aug 21, 2024

Conversation

shuhaowu
Copy link
Contributor

Instead of returning true/false which is confusing, simply return an enum value which is more readable.

Fixes: #120

Instead of returning true/false which is confusing, simply return an
enum value which is more readable.

Fixes: #120
@shuhaowu shuhaowu merged commit dc53ca0 into master Aug 21, 2024
3 checks passed
@shuhaowu shuhaowu deleted the loop-control branch August 21, 2024 02:35
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.

Change the return value of Loop to be an enum for better readibility
2 participants