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

Fix variable name in comment of Result#recover function #81

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

christxph
Copy link

The even better solution would probably be to rename the function argument from errorToValue to failureToValue because the whole Result4k type does not use the term error, however I was not sure if that may be a breaking change that we do not want to introduce so it's a start to at least fix the reference in the comment.

@daviddenton
Copy link
Member

I think we should actually do the breaking change - it's quite unlikely to actually bust much as there is only a single parameter so the likelihood of people naming it is low :)

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