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

Luhn Trait #20

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Luhn Trait #20

merged 2 commits into from
Nov 3, 2024

Conversation

adnilsson
Copy link
Owner

Description

Solution to the Luhn Trait exercise.

Mentoring

No mentoring was requested since, just like the Luhn From exercise, the solution is very straightforward if you re-use your implementation from Luhn.

Very similar to the Luhn From exercise; the only difference is that we
implement a trait on the calling type directly rather than box it in a
Luhn struct.
@adnilsson adnilsson merged commit b00c819 into main Nov 3, 2024
@adnilsson adnilsson deleted the luhn-trait branch November 3, 2024 21:20
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.

1 participant