This fixes clippy warnings for all examples except the ocr example (I can't compile the ocr example because I have incompatible versions of native libfreetype and libpng libraries on my machine).
I did separate commits for each example for the sake of better review, I can squash them if you want.
Cool, thanks!
I didn't bother checking the examples with clippy yet, since they are too small ;-)
The OCR example isn't finished, so it's OK for now I think. I'll switch to RustType in the future.
This fixes clippy warnings for all examples except the ocr example (I can't compile the ocr example because I have incompatible versions of native libfreetype and libpng libraries on my machine).
I did separate commits for each example for the sake of better review, I can squash them if you want.