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:
parent
163f9abe4f
commit
f53c291ab2
1 changed files with 1 additions and 1 deletions
2
string.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue