From e142d40fb0c0371ee626c43e5616f9c90e806391 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Thu, 29 Jun 2023 21:32:44 +0200 Subject: [PATCH] Update 078_sentinels3.zig Changed description of @ptrCast closes https://github.com/ratfactor/ziglings/issues/334 --- exercises/078_sentinels3.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/078_sentinels3.zig b/exercises/078_sentinels3.zig index bad4810..1e443e6 100644 --- a/exercises/078_sentinels3.zig +++ b/exercises/078_sentinels3.zig @@ -8,7 +8,7 @@ // Yes, we can. Zig's @ptrCast() builtin can do this. Check out // the signature: // -// @ptrCast(comptime DestType: type, value: anytype) DestType +// @ptrCast(value: anytype) anytype // // See if you can use it to solve the same many-item pointer // problem, but without needing a length!