mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Update 037_structs.zig
This commit is contained in:
parent
1b2b90317c
commit
e90042b95e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
// point2 = Point{ .x=7, .y=13, .z=34 };
|
// point2 = Point{ .x=7, .y=13, .z=34 };
|
||||||
//
|
//
|
||||||
// The Point above is an example of a "struct" (short for "structure").
|
// The Point above is an example of a "struct" (short for "structure").
|
||||||
// Here's how it could have been defined:
|
// Here's how that struct type could have been defined:
|
||||||
//
|
//
|
||||||
// const Point = struct{ x: u32, y: u32, z: u32 };
|
// const Point = struct{ x: u32, y: u32, z: u32 };
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue