summaryrefslogtreecommitdiff
path: root/hobgoblin/src
diff options
context:
space:
mode:
Diffstat (limited to 'hobgoblin/src')
-rw-r--r--hobgoblin/src/output/lang/rust/ast.hob3
1 files changed, 3 insertions, 0 deletions
diff --git a/hobgoblin/src/output/lang/rust/ast.hob b/hobgoblin/src/output/lang/rust/ast.hob
index f3ff901..ab64a91 100644
--- a/hobgoblin/src/output/lang/rust/ast.hob
+++ b/hobgoblin/src/output/lang/rust/ast.hob
@@ -1,3 +1,5 @@
+import {DocComment} from ast;
+
// == Modules ==
struct RustModule {
@@ -14,6 +16,7 @@ sum RustItem {
struct RustStructStruct {
field name: RustIdentifier;
field fields: List[RustStructField];
+ field docComment: DocComment;
}
struct RustStructField {