clean up unnecessary outer rust gen-snippet (#5013)

* clean up unneeded outer rust gen-snippet

* update generated rust file
This commit is contained in:
csmoe
2018-10-24 11:16:18 +08:00
committed by Robert
parent 560718e976
commit 636b516492
4 changed files with 1 additions and 16 deletions

View File

@@ -1,10 +1,6 @@
// automatically generated by the FlatBuffers compiler, do not modify
#![allow(dead_code)]
#![allow(unused_imports)]
extern crate flatbuffers;
pub mod my_game {
#![allow(dead_code)]
#![allow(unused_imports)]

View File

@@ -1,10 +1,6 @@
// automatically generated by the FlatBuffers compiler, do not modify
#![allow(dead_code)]
#![allow(unused_imports)]
extern crate flatbuffers;
pub mod namespace_a {
#![allow(dead_code)]
#![allow(unused_imports)]

View File

@@ -1,10 +1,6 @@
// automatically generated by the FlatBuffers compiler, do not modify
#![allow(dead_code)]
#![allow(unused_imports)]
extern crate flatbuffers;
pub mod namespace_a {
#![allow(dead_code)]
#![allow(unused_imports)]