robertknight / ocrs

Rust library and CLI tool for OCR (extracting text from images)
Apache License 2.0
1.1k stars 46 forks source link

Apply fixes from `-Wclippy::pedantic` #13

Closed chris-ha458 closed 8 months ago

chris-ha458 commented 8 months ago

I just used cargo clippy -- -Wclippy::pedantic to take a look into some potential fixes.

Some are straightforward and obvious, but some are more opinionated. Let me know what you think!