my ziglings
0

Configure Feed

Select the types of activity you want to include in your feed.

Deleted unnecessary pointer.

Chris Boesch (Nov 8, 2024, 10:48 PM +0100) 0d945880 ae541a0d

+3 -3
+1 -1
exercises/046_optionals2.zig
··· 48 48 // If e1 and e2 are valid pointers to elephants, 49 49 // this function links the elephants so that e1's tail "points" to e2. 50 50 fn linkElephants(e1: ?*Elephant, e2: ?*Elephant) void { 51 - e1.?.*.tail = e2.?; 51 + e1.?.tail = e2.?; 52 52 } 53 53 54 54 // This function visits all elephants once, starting with the
+2 -2
patches/patches/046_optionals2.patch
··· 1 - --- exercises/046_optionals2.zig 2024-09-04 20:51:36.766783971 +0200 2 - +++ answers/046_optionals2.zig 2024-09-04 20:51:01.389400985 +0200 1 + --- exercises/046_optionals2.zig 2024-11-08 22:46:25.592875338 +0100 2 + +++ answers/046_optionals2.zig 2024-11-08 22:46:20.699447951 +0100 3 3 @@ -22,7 +22,7 @@ 4 4 5 5 const Elephant = struct {