willi-kappler / darwin-rs

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

Clean Up Parts of the Code #2

Closed CryZe closed 8 years ago

CryZe commented 8 years ago

This mostly introduces the idiomatic Rust formatting, cleans up some iterations that used i as index before, fixes some typos and introduces the quick-error crate for idiomatic error handling.

CryZe commented 8 years ago

Rebased

CryZe commented 8 years ago

Looks like you manually merged it, which is why this fails now. I guess I'll close this now then.

willi-kappler commented 8 years ago

Thanks for the PR and clean up! Automerge was failing before, so I manually merged it. I've learned some nice idioms, hope I'll remember them ;-)