summaryrefslogtreecommitdiff
path: root/hobgoblin/src
diff options
context:
space:
mode:
Diffstat (limited to 'hobgoblin/src')
-rw-r--r--hobgoblin/src/output/lang/rust/ast.hob2
1 files changed, 1 insertions, 1 deletions
diff --git a/hobgoblin/src/output/lang/rust/ast.hob b/hobgoblin/src/output/lang/rust/ast.hob
index f1a4513..1fbfa99 100644
--- a/hobgoblin/src/output/lang/rust/ast.hob
+++ b/hobgoblin/src/output/lang/rust/ast.hob
@@ -37,7 +37,7 @@ struct RustFunctionParam {
struct RustStructStruct {
field attributes: List[RustOuterAttribute];
field name: RustIdentifier;
- field fields: List[RustStructField];
+ field fields: Option[List[RustStructField]];
field docComment: DocComment;
}