Rust codegen improvements and lint fixes (#6046)
authorCasper <casperneo@uchicago.edu>
Sat, 25 Jul 2020 20:46:20 +0000 (13:46 -0700)
committerGitHub <noreply@github.com>
Sat, 25 Jul 2020 20:46:20 +0000 (13:46 -0700)
commit18b015d25a0dbc29be48956b73a5591b870aa109
tree252fdaafc73a27628d4f5c5aa119fa48752abb36
parentd76e93f277a5111409c3aebd98bfb4f3bf67d465
Rust codegen improvements and lint fixes (#6046)

* Improve rust codegen

* one more unneeded lifetime

* Added a derive default

Co-authored-by: Casper Neo <cneo@google.com>
rust/flatbuffers/src/follow.rs
src/idl_gen_rust.cpp
tests/include_test/include_test1_generated.rs
tests/include_test/sub/include_test2_generated.rs
tests/monster_test_generated.rs
tests/namespace_test/namespace_test1_generated.rs
tests/namespace_test/namespace_test2_generated.rs
tests/optional_scalars_generated.rs