Commit graph

11 commits

Author SHA1 Message Date
Matthew Robinson
1ed03cf0a1 Fix formatting of comment 2024-01-01 02:16:39 +08:00
Matthew Robinson
1a001b9eb7 Correct comment to match code in 076_sentinels 2024-01-01 01:41:31 +08:00
Chris Boesch
7679f93f68 Converted var to const if there is no mutation in var.
This is checked from compiler version 0.12.0-dev.1664
2023-11-21 15:01:22 +01:00
Kim SHrier
cc9f68c4e5 Add missing word "of" 2023-05-07 02:04:30 -06:00
Dave Gauer
f34b6aa024 Update sentinel type for v0.10.0
Fixes

.../076_sentinels.zig:95:30: error: incompatible types:
  'u32' and '?*const anyopaque':
    while (my_seq[i] != my_sentinel) {
2022-03-19 19:38:05 -04:00
Dave Gauer
4c7eebbbfc Removed confusing explanation from 076 2021-10-18 19:04:12 -04:00
Francisco Demartino
af3fabd59b fix typo in 076 (sentinal -> sentinel) 2021-09-03 17:08:43 -03:00
Dave Gauer
03eb291d39 076 typo 2021-05-09 20:01:16 -04:00
Dave Gauer
afc5f94a15 076 sentinels must be same type 2021-05-09 19:59:38 -04:00
Dave Gauer
d4f5684450 Fix 076, add 077,078 sentinels and many-item pointers 2021-05-08 18:51:08 -04:00
Dave Gauer
e9547cf808 add ex076 sentinels 2021-05-06 20:32:36 -04:00