diff --git a/src/unicode.rs b/src/unicode.rs
index 0ad6ce3d9dfc033e80145b424ec7d18ccb01655b_c3JjL3VuaWNvZGUucnM=..6d3eda83f2375e379913934aba01057a464b6831_c3JjL3VuaWNvZGUucnM= 100644
--- a/src/unicode.rs
+++ b/src/unicode.rs
@@ -34,4 +34,5 @@
 const STATE_COMPACT: u32 = 0b00000000000000000000000000100000;
 
 fn is_four_byte(buf: &str) -> bool {
+    let mut ret = false;
     for &each in buf.as_bytes() {
@@ -37,5 +38,3 @@
     for &each in buf.as_bytes() {
-        if unlikely!(each >= 240) {
-            return true;
-        }
+        ret |= each >= 240;
     }
@@ -41,5 +40,5 @@
     }
-    false
+    ret
 }
 
 enum PyUnicodeKind {