mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Update 078_sentinels3.zig
Changed description of @ptrCast closes https://github.com/ratfactor/ziglings/issues/334
This commit is contained in:
parent
bddff7a0a6
commit
e142d40fb0
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
// Yes, we can. Zig's @ptrCast() builtin can do this. Check out
|
// Yes, we can. Zig's @ptrCast() builtin can do this. Check out
|
||||||
// the signature:
|
// 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
|
// See if you can use it to solve the same many-item pointer
|
||||||
// problem, but without needing a length!
|
// problem, but without needing a length!
|
||||||
|
|
Loading…
Reference in a new issue