mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 18:32:22 -07:00
Make record semicolon syntax more consistent
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user