diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-14 11:15:25 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-14 11:15:25 +0100 |
| commit | 86649e6b44877df3c5d0b81ed2f97aaa063a6f1d (patch) | |
| tree | 700029b1021d4702e4877dd0c0355d3443df3865 /core/bytes/bytes.odin | |
| parent | 3ca887a60ae1e681fd441edfe17805df97b6d6a3 (diff) | |
Core library clean up: Make range expressions more consistent and replace uses of `..` with `..=`
Diffstat (limited to 'core/bytes/bytes.odin')
| -rw-r--r-- | core/bytes/bytes.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bytes/bytes.odin b/core/bytes/bytes.odin index b3d332c67..a7cf23d1b 100644 --- a/core/bytes/bytes.odin +++ b/core/bytes/bytes.odin @@ -91,7 +91,7 @@ equal_fold :: proc(u, v: []byte) -> bool { if tr < utf8.RUNE_SELF { switch sr { - case 'A'..'Z': + case 'A'..='Z': if tr == (sr+'a')-'A' { continue loop; } |