summaryrefslogtreecommitdiff
path: root/examples/03-struct-generic/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/03-struct-generic/src')
-rw-r--r--examples/03-struct-generic/src/point.hob4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/03-struct-generic/src/point.hob b/examples/03-struct-generic/src/point.hob
index f923785..ec6d76e 100644
--- a/examples/03-struct-generic/src/point.hob
+++ b/examples/03-struct-generic/src/point.hob
@@ -1,11 +1,11 @@
/// A 2D drawing made up of straight lines.
struct LineDrawing2D {
- field lines: Line[Point2D];
+ field lines: List[Line[Point2D]];
}
/// A drawing made up of straight lines.
struct LineDrawing[TPoint] {
- field lines: Line[TPoint];
+ field lines: List[Line[TPoint]];
}
/// A straight line from one point to another.