mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 06:03:09 -05:00
076 sentinels must be same type
This commit is contained in:
parent
4a379159a3
commit
afc5f94a15
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@
|
|||
// many-item pointer without knowing its length. (We CAN'T do
|
||||
// that with regular many-item pointers!).
|
||||
//
|
||||
// Important: the sentinel value must be of the same type as the
|
||||
// data being termined!
|
||||
//
|
||||
const print = @import("std").debug.print;
|
||||
|
||||
pub fn main() void {
|
||||
|
|
Loading…
Reference in a new issue