mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-07 10:23:30 +02:00
Manually cleaned up patches/patches for issue #73
Patches cleaned and fixed by hand as proof of my devotion. <3
This commit is contained in:
@@ -1,24 +1,8 @@
|
||||
38,40d37
|
||||
< // Important: the sentinel value must be of the same type as the
|
||||
< // data being terminated!
|
||||
< //
|
||||
56c53
|
||||
< // numbers that both ends in and CONTAINS the sentinel value.
|
||||
---
|
||||
> // numbers that both ends in and CONTAINS the sentinal value.
|
||||
62,63c59,62
|
||||
< // the sentinel 0 in the middle. The many-item pointer stops
|
||||
< // at the first sentinel value.)
|
||||
---
|
||||
> // the sentinel 0 in the middle. The many-item pointer must
|
||||
> // stop at the first sentinel value. The difference is simply
|
||||
> // that arrays have a known length and many-item pointers
|
||||
> // don't.)
|
||||
84c83
|
||||
85c84
|
||||
< for (???) |s| {
|
||||
---
|
||||
> for (my_seq) |s| {
|
||||
96c95
|
||||
97c96
|
||||
< while (??? != my_sentinel) {
|
||||
---
|
||||
> while (my_seq[i] != my_sentinel) {
|
||||
|
||||
Reference in New Issue
Block a user