summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:41 +0000
commitf53c291ab26dd9b8fac964a038b35405f1045297 (patch)
tree85d67dca4336c67c7c2b16d46c75ef175f36b992 /string.c
parent163f9abe4f2ba66ef433b327e0ceb2edb249e3ae (diff)
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
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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