From f55983f8a5fefe039df83fc601679fc32e04581e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 30 Jun 2026 20:44:46 +0100 Subject: Write doc comment for Rust structs --- hobgoblin/src/output/lang/rust/ast.hob | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hobgoblin/src') 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 { -- cgit v1.2.3