From 86649e6b44877df3c5d0b81ed2f97aaa063a6f1d Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 14 Jun 2021 11:15:25 +0100 Subject: Core library clean up: Make range expressions more consistent and replace uses of `..` with `..=` --- core/path/filepath/path.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/path/filepath/path.odin') diff --git a/core/path/filepath/path.odin b/core/path/filepath/path.odin index 33ea5541c..7dd7484f0 100644 --- a/core/path/filepath/path.odin +++ b/core/path/filepath/path.odin @@ -39,7 +39,7 @@ volume_name_len :: proc(path: string) -> int { c := path[0]; if path[1] == ':' { switch c { - case 'a'..'z', 'A'..'Z': + case 'a'..='z', 'A'..='Z': return 2; } } -- cgit v1.2.3