Rust: Fixed cargo clippy on non-generated code (#5485)
authorCasper <casperneo@uchicago.edu>
Mon, 9 Sep 2019 20:02:43 +0000 (13:02 -0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 9 Sep 2019 20:02:43 +0000 (13:02 -0700)
commitc0282873fb42db8b5c8feb0789362610c3228ac1
tree313f9872dd05a54a328ad222302f87f05af7b433
parent4b870aca98eca22c56faa3245ada7014752f7b2c
Rust: Fixed cargo clippy on non-generated code (#5485)

* Cargo clippy lints

* more lints

* more lints

* Restored a doc comment

* Comment on float eps-eq and adjusted casting
rust/flatbuffers/src/builder.rs
rust/flatbuffers/src/primitives.rs
rust/flatbuffers/src/table.rs
rust/flatbuffers/src/vector.rs
rust/flatbuffers/src/vtable.rs
rust/flatbuffers/src/vtable_writer.rs
tests/rust_usage_test/bin/alloc_check.rs