mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
Replace "less" by "fewer" in exercise.md (#1769)
This commit is contained in:
parent
4b7a874263
commit
a1d88c77e8
@ -10,7 +10,7 @@ The [Luhn algorithm](https://en.wikipedia.org/wiki/Luhn_algorithm) is used to
|
||||
validate credit card numbers. The algorithm takes a string as input and does the
|
||||
following to validate the credit card number:
|
||||
|
||||
- Ignore all spaces. Reject number with less than two digits.
|
||||
- Ignore all spaces. Reject number with fewer than two digits.
|
||||
|
||||
- Moving from **right to left**, double every second digit: for the number
|
||||
`1234`, we double `3` and `1`. For the number `98765`, we double `6` and `8`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user