antifuchs / ratelimit_meter

A leaky-bucket-as-a-meter rate-limiting implementation in Rust
MIT License
33 stars 6 forks source link

Some clippy fixes #8

Closed waywardmonkeys closed 7 years ago

waywardmonkeys commented 7 years ago

These are some of the things that I found by running clippy.

antifuchs commented 7 years ago

Yay, I love these! I should have pulled in clippy earlier, all of these changes make it all much easier to read!