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

refactor number_plate module #51

Merged
merged 1 commit into from
Feb 3, 2024
Merged

Conversation

thevilx
Copy link
Contributor

@thevilx thevilx commented Feb 3, 2024

I have removed the PlateResultApi & NormalizedPlate , instead I have used Result with thiserror as error result for better error handling
also I have removed the helpers.rs sub module because its functionality wasn't useful anymore , for checking if a plate number is valid instead of is_plate_number_valid() in helpers you can use the get_plate_info() directly if it has no errors then it is valid

@ali77gh ali77gh merged commit eff89a7 into persian-tools:dev Feb 3, 2024
5 checks passed
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.

2 participants