mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
No unused locals
This commit is contained in:
@@ -29,8 +29,6 @@ const Narcissus = struct {
|
||||
};
|
||||
|
||||
pub fn main() void {
|
||||
var narcissus: Narcissus = Narcissus {};
|
||||
|
||||
print("Narcissus has room in his heart for:", .{});
|
||||
|
||||
// Last time we examined the Narcissus struct, we had to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
45c45
|
||||
43c43
|
||||
< ??? {
|
||||
---
|
||||
> inline for (fields) |field| {
|
||||
|
||||
Reference in New Issue
Block a user