rust generator: fix builder lifetime switch (#4912)

This commit is contained in:
Robert
2018-09-04 14:29:27 -07:00
committed by Wouter van Oortmerssen
parent c504a45404
commit 660c491265
2 changed files with 9 additions and 10 deletions

View File

@@ -351,7 +351,6 @@ class RustGenerator : public BaseGenerator {
case ftInteger:
case ftFloat:
case ftBool:
case ftTable:
case ftEnumKey:
case ftUnionKey:
case ftStruct: { return false; }