Unverified Commit c23ba675 authored by Robert's avatar Robert Committed by GitHub

rust: more builder lifetimes logic (#4917)

parent 10e1d1a6
...@@ -352,8 +352,7 @@ class RustGenerator : public BaseGenerator { ...@@ -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; }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment