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 ftBool:
case ftEnumKey:
case ftUnionKey:
case ftStruct: { return false; }
case ftUnionKey: { return false; }
default: { return true; }
}
}