From 5648afd950141a582b4585be8a30b7b3f808e35a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 10 May 2026 15:23:52 +0100 Subject: Parse doc comment for struct definitions --- examples/01-struct/src/point.hob | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') 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; -- cgit v1.2.3