diff options
Diffstat (limited to 'examples/01-struct/src')
| -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; |
