summaryrefslogtreecommitdiff
path: root/libstd/utf.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/utf.myr')
-rw-r--r--libstd/utf.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstd/utf.myr b/libstd/utf.myr
index 16c3cbb..cefba97 100644
--- a/libstd/utf.myr
+++ b/libstd/utf.myr
@@ -68,7 +68,7 @@ const striter = {str
var c
var tmp
- if !str.len
+ if str.len == 0
/* empty string: no resync needed */
-> (Badchar, str)
;;