mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 10:50:02 +00:00
Refactor idl_gen_rust and Rust generated code to use consistent whitespace (#6809)
* Remove dead code in idl_gen_rust * Use 2space indentation in mod.rs * use In/DecrementIdentValue in idl_gen_rust Fix some whitespace too in generated code. * make default fn 2space ident * More 2space formatting * git clang format * make vs2015 happy Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// Automatically generated by the Flatbuffers compiler. Do not modify.
|
||||
pub mod optional_scalars {
|
||||
use super::*;
|
||||
mod optional_byte_generated;
|
||||
pub use self::optional_byte_generated::*;
|
||||
mod scalar_stuff_generated;
|
||||
pub use self::scalar_stuff_generated::*;
|
||||
use super::*;
|
||||
mod optional_byte_generated;
|
||||
pub use self::optional_byte_generated::*;
|
||||
mod scalar_stuff_generated;
|
||||
pub use self::scalar_stuff_generated::*;
|
||||
} // optional_scalars
|
||||
|
||||
Reference in New Issue
Block a user