summaryrefslogtreecommitdiff
path: root/tests/monster_test_generated.rs
diff options
context:
space:
mode:
authorjean-airoldie <maxence.caron.1@ulaval.ca>2019-01-24 16:25:56 -0500
committerWouter van Oortmerssen <aardappel@gmail.com>2019-01-24 13:25:56 -0800
commit38bf4cfc03baf93a58fd54dcbe63b638b490bdbf (patch)
tree9958f71bd34c81fdfbcea41fdd815a3db6f7f1e7 /tests/monster_test_generated.rs
parentc2f40c37b2c0cf2c7fbb82b4b760276771abe7a1 (diff)
downloadflatbuffers-38bf4cfc03baf93a58fd54dcbe63b638b490bdbf.tar.gz
flatbuffers-38bf4cfc03baf93a58fd54dcbe63b638b490bdbf.tar.bz2
flatbuffers-38bf4cfc03baf93a58fd54dcbe63b638b490bdbf.zip
[Rust] Added global namespace imports (#5121)
* [Rust] Added global namespace imports * Documented the need for global imports * Added white_space params to GenNamespaceImports * Removed a \n from GenNamespaceImports
Diffstat (limited to 'tests/monster_test_generated.rs')
-rw-r--r--tests/monster_test_generated.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/monster_test_generated.rs b/tests/monster_test_generated.rs
index 57433911..82393ea9 100644
--- a/tests/monster_test_generated.rs
+++ b/tests/monster_test_generated.rs
@@ -1,6 +1,15 @@
// automatically generated by the FlatBuffers compiler, do not modify
+#![allow(dead_code)]
+#![allow(unused_imports)]
+
+use std::mem;
+use std::cmp::Ordering;
+
+extern crate flatbuffers;
+use self::flatbuffers::EndianScalar;
+
pub mod my_game {
#![allow(dead_code)]
#![allow(unused_imports)]