1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2014-03-14 01:27:41 +00:00
parent 163f9abe4f
commit f53c291ab2

View file

@ -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