diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-06-30 20:44:46 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-06-30 20:44:46 +0100 |
| commit | f55983f8a5fefe039df83fc601679fc32e04581e (patch) | |
| tree | a1e584da4d52c2b499b04de917ad38a6de998f25 /hobgoblin | |
| parent | 3918b4715e8d060eacbd1e53e53df21afba5a358 (diff) | |
Write doc comment for Rust structs
Diffstat (limited to 'hobgoblin')
| -rw-r--r-- | hobgoblin/src/output/lang/rust/ast.hob | 3 |
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 { |
