aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 6a491ddabd..dfd2de0b4e 100644
--- a/string.c
+++ b/string.c
@@ -103,11 +103,11 @@ single_byte_optimizable(VALUE str)
if (rb_enc_mbminlen(enc) == 1 && rb_enc_mbmaxlen(enc) == 1)
return 1;
- /* Not precise. It may be ENC_CODERANGE_UNKNOWN. */
+ /* Conservative. It may be ENC_CODERANGE_UNKNOWN. */
if (ENC_CODERANGE(str) == ENC_CODERANGE_7BIT)
return 1;
- /* Not precise. Possibly single byte.
+ /* Conservative. Possibly single byte.
* "\xa1" in Shift_JIS for example. */
return 0;
}