diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-05-10 15:23:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-05-10 15:23:52 +0100 |
| commit | 5648afd950141a582b4585be8a30b7b3f808e35a (patch) | |
| tree | c61acb992d75e7b9e544837f11cc1b62af0a6c89 /examples/01-struct | |
| parent | 193a62fa52e360ee76cca3d0f6bdbe2f6a69602a (diff) | |
Parse doc comment for struct definitions
Diffstat (limited to 'examples/01-struct')
| -rw-r--r-- | examples/01-struct/src/point.hob | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/01-struct/src/point.hob b/examples/01-struct/src/point.hob index abe989d..1f392af 100644 --- a/examples/01-struct/src/point.hob +++ b/examples/01-struct/src/point.hob @@ -1,8 +1,10 @@ +/// A straight line from one point to another. struct Line { field start: Point; field end: Point; } +/// A 2D point. struct Point { field x: Int32; field y: Int32; |
