mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-01 08:03:29 +02:00
Update 037_structs.zig
This commit is contained in:
committed by
GitHub
co-authored by
GitHub
parent
1b2b90317c
commit
e90042b95e
@@ -14,7 +14,7 @@
|
||||
// point2 = Point{ .x=7, .y=13, .z=34 };
|
||||
//
|
||||
// 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 };
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user