Rust Improvements

Whenever I run my code through clippy, I get a ton of errors, and its a pain to sort out which are mine and which are from the built-in stuff. Can I make a PR to fix all this stuff. That is all also ran through cargo fmt

See changes: