diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-06-29 21:32:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 21:32:44 +0200 |
commit | e142d40fb0c0371ee626c43e5616f9c90e806391 (patch) | |
tree | a89bfee962b28f31f7b4b78da83a20e372659088 /exercises | |
parent | bddff7a0a61331e775c534c399139e107c5ff6c9 (diff) |
Update 078_sentinels3.zig
Changed description of @ptrCast
closes https://github.com/ratfactor/ziglings/issues/334
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/078_sentinels3.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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! |