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

Fix warnings for new Rust