From f53c291ab26dd9b8fac964a038b35405f1045297 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 14 Mar 2014 01:27:41 +0000 Subject: [PATCH] string.c: [DOC] rb_str_hash_m * string.c (rb_str_hash_m): [DOC] hash value depends on the encoding too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index c268cd6248..d41a5314e1 100644 --- a/string.c +++ b/string.c @@ -2337,7 +2337,7 @@ rb_str_hash_cmp(VALUE str1, VALUE str2) * call-seq: * str.hash -> fixnum * - * Return a hash based on the string's length and content. + * Return a hash based on the string's length, content and encoding. */ static VALUE