Expand description
ยงPassport Processing
Regular expressions are a good fit for this problem. However as the principles of this crate are to avoid external dependencies and maximize speed weโll instead hand code validation functions for each of the passport field criteria.
Functionsยง
- parse_
block ๐ - validate_
eye_ ๐color - validate_
field ๐ - validate_
hair_ ๐color - validate_
height ๐ - validate_
passport_ ๐id - validate_
range ๐
Type Aliasesยง
- Passport ๐