Core library clean up: Make range expressions more consistent and replace uses of .. with ..=
This commit is contained in:
1 parent
3ca887a60a
commit
86649e6b44
23 files changed
+80
-84
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user