diff options
author | Casper <casperneo@uchicago.edu> | 2020-07-23 16:30:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 16:30:27 -0700 |
commit | 043b52bd4a81fea3b8128d813852636989ff1716 (patch) | |
tree | 50796aa7f073cc191ce7a559445178d996a031d9 /tests/monster_test_generated.rs | |
parent | c8fa0afdfc907452edbf2f5f3110f2f673fc4a70 (diff) | |
download | flatbuffers-043b52bd4a81fea3b8128d813852636989ff1716.tar.gz flatbuffers-043b52bd4a81fea3b8128d813852636989ff1716.tar.bz2 flatbuffers-043b52bd4a81fea3b8128d813852636989ff1716.zip |
Optional Scalars support for Rust (#6034)
* First draft of rust optionals
* Code cleanup around ftBool and ftVectorOfBool
* Tests for Rust optional scalars
* test bools too
Co-authored-by: Casper Neo <cneo@google.com>
Diffstat (limited to 'tests/monster_test_generated.rs')
-rw-r--r-- | tests/monster_test_generated.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monster_test_generated.rs b/tests/monster_test_generated.rs index 528505c3..43fe7278 100644 --- a/tests/monster_test_generated.rs +++ b/tests/monster_test_generated.rs @@ -1488,7 +1488,7 @@ pub struct MonsterArgs<'a> { pub testhashu32_fnv1a: u32, pub testhashs64_fnv1a: i64, pub testhashu64_fnv1a: u64, - pub testarrayofbools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , bool>>>, + pub testarrayofbools: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , bool>>>, pub testf: f32, pub testf2: f32, pub testf3: f32, |