aboutsummaryrefslogtreecommitdiff
path: root/code/demo.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-10 14:52:58 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-10 14:52:58 +0100
commit069a47220e55d0b64732c0eb146802edb6388246 (patch)
treefb7c393c12bf5ab443c6eef63dbc681554ad9864 /code/demo.odin
parent66e4aaffc5d29710360ae238ab0c1285642ab6b8 (diff)
Make record semicolon syntax more consistent
Diffstat (limited to 'code/demo.odin')
-rw-r--r--code/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 7e330eefa..c5ab3698b 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -253,7 +253,7 @@ explicit_parametric_polymorphic_procedures :: proc() {
// A more complicated example using subtyping
// Something like this could be used in a game
- Vector2 :: struct {x, y: f32};
+ Vector2 :: struct {x, y: f32;};
Entity :: struct {
using position: Vector2;