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

Update parse_pos_nonzero with alternate solution #3

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

Conversation

jcaffey
Copy link

@jcaffey jcaffey commented Sep 8, 2022

Since your repo is likely to be seen by lots of us learning rust, I thought I'd drop in the map_err alternative.

The match you wrote was my first solution too, but this is cleaner / more readable. Thanks for sharing your solutions!

Since your repo is likely to be seen by lots of us learning rust, I thought I'd drop in the map_err alternative.

The match you wrote was my first solution too, but this is cleaner / more readable. Thanks for sharing your solutions!
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.

None yet

1 participant