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

correct function should return Option<String> #2

Open
iocanel opened this issue Jan 14, 2022 · 0 comments · May be fixed by #3
Open

correct function should return Option<String> #2

iocanel opened this issue Jan 14, 2022 · 0 comments · May be fixed by #3

Comments

@iocanel
Copy link

iocanel commented Jan 14, 2022

Currently when no correction is found, the original word is returned. The same happens if the word is correct. So, it doesn't seem possible to distinguish between the two. Ideally an Option should be returned.

@iocanel iocanel linked a pull request Jan 14, 2022 that will close this issue
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 a pull request may close this issue.

1 participant