diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/076_sentinels.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exercises/076_sentinels.zig b/exercises/076_sentinels.zig index 4c16e7c..476f03f 100644 --- a/exercises/076_sentinels.zig +++ b/exercises/076_sentinels.zig @@ -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 { |