Fix warnings for new Rust
Merge pull request #4 from metajack/warning-police

Fix warnings for new Rust