ruby-changes:33249
From: nobu <ko1@a...>
Date: Fri, 14 Mar 2014 10:27:45 +0900 (JST)
Subject: [ruby-changes:33249] nobu:r45328 (trunk): string.c: [DOC] rb_str_hash_m
nobu 2014-03-14 10:27:41 +0900 (Fri, 14 Mar 2014) New Revision: 45328 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45328 Log: string.c: [DOC] rb_str_hash_m * string.c (rb_str_hash_m): [DOC] hash value depends on the encoding too. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 45327) +++ string.c (revision 45328) @@ -2337,7 +2337,7 @@ rb_str_hash_cmp(VALUE str1, VALUE str2) https://github.com/ruby/ruby/blob/trunk/string.c#L2337 * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/