aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index e95ed2be69..c002c9c24e 100644
--- a/string.c
+++ b/string.c
@@ -2520,8 +2520,8 @@ str_uplus(VALUE str)
*
* If the string is frozen, then return the string itself.
*
- * If the string is not frozen, then duplicate the string
- * freeze it and return it.
+ * If the string is not frozen, return a frozen, possibly pre-existing
+ * copy of it.
*/
static VALUE
str_uminus(VALUE str)