exercism-rust/luhn-from
2023-08-21 13:50:14 -04:00
..
.exercism init commit 2023-08-21 13:50:14 -04:00
src init commit 2023-08-21 13:50:14 -04:00
tests init commit 2023-08-21 13:50:14 -04:00
.gitignore init commit 2023-08-21 13:50:14 -04:00
Cargo.toml init commit 2023-08-21 13:50:14 -04:00
HELP.md init commit 2023-08-21 13:50:14 -04:00
README.md init commit 2023-08-21 13:50:14 -04:00

Luhn From

Welcome to Luhn From on Exercism's Rust Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

Before doing this exercise you should probably do the original Luhn exercise. If you have not completed Luhn, you can get it by running the command:

exercism download --exercise=luhn --track=rust

In the original Luhn exercise you only validated strings, but the Luhn algorithm can be applied to integers as well.

In this exercise you'll implement the From trait to convert strings, strs and unsigned integers into a Struct that performs the validation.

Source

Created by

  • @IanWhitney

Contributed to by

  • @coriolinus
  • @cwhakes
  • @efx
  • @ErikSchierboom
  • @Insti
  • @lutostag
  • @mkantor
  • @nfiles
  • @petertseng
  • @rofrol
  • @stringparser
  • @xakon
  • @ZapAnton

Based on

The Rust track maintainers, based on the original Luhn exercise