mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 12:51:36 +00:00
rust generator: fix enum member comments (#4911)
This commit is contained in:
@@ -169,7 +169,8 @@ pub mod example {
|
||||
pub enum Color {
|
||||
Red = 1,
|
||||
Green = 2,
|
||||
Blue = 8
|
||||
Blue = 8,
|
||||
|
||||
}
|
||||
|
||||
const ENUM_MIN_COLOR: i8 = 1;
|
||||
@@ -237,7 +238,8 @@ pub enum Any {
|
||||
NONE = 0,
|
||||
Monster = 1,
|
||||
TestSimpleTableWithEnum = 2,
|
||||
MyGame_Example2_Monster = 3
|
||||
MyGame_Example2_Monster = 3,
|
||||
|
||||
}
|
||||
|
||||
const ENUM_MIN_ANY: u8 = 0;
|
||||
|
||||
Reference in New Issue
Block a user