flavray / avro-rs

Avro client library implementation in Rust
MIT License
169 stars 95 forks source link

Remove unnecessary cast (clippy warning) #172

Closed atsheehan closed 3 years ago

atsheehan commented 3 years ago

With the upgrade to Rust 1.49, the clippy lint unnecessary_cast was enhanced to work with integer and float literals. There is one instance of this in the code base that is breaking the build.

This change removes the cast and fixes the clippy warning.

poros commented 3 years ago

Thanks a lot! :)