Skip to content

Commit 7baffa3

Browse files
authored
Update 078_sentinels3.zig
Changed description of @ptrCast closes #334
1 parent 047bbec commit 7baffa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/078_sentinels3.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Yes, we can. Zig's @ptrCast() builtin can do this. Check out
99
// the signature:
1010
//
11-
// @ptrCast(comptime DestType: type, value: anytype) DestType
11+
// @ptrCast(value: anytype) anytype
1212
//
1313
// See if you can use it to solve the same many-item pointer
1414
// problem, but without needing a length!

0 commit comments

Comments
 (0)