willi-kappler / darwin-rs

darwin-rs, evolutionary algorithms with rust
MIT License
116 stars 16 forks source link

Fix clippy warnings in examples. #3

Closed zummenix closed 8 years ago

zummenix commented 8 years ago

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.

willi-kappler commented 8 years ago

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.