rust: more builder lifetimes logic (#4917)

This commit is contained in:
Robert
2018-09-04 21:53:39 -07:00
committed by GitHub
parent 10e1d1a69e
commit c23ba6756f

View File

@@ -352,8 +352,7 @@ class RustGenerator : public BaseGenerator {
case ftFloat: case ftFloat:
case ftBool: case ftBool:
case ftEnumKey: case ftEnumKey:
case ftUnionKey: case ftUnionKey: { return false; }
case ftStruct: { return false; }
default: { return true; } default: { return true; }
} }
} }