mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* hash.c (rb_hash_hash): documentation fix. a patch from
Marc-Andre Lafortune. [ruby-core:23943] * object.c (rb_mod_cmp): ditto. * range.c (range_eq): ditto. * string.c (rb_str_partition, rb_str_rpartition): ditto. * struct.c (rb_struct_s_def): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
841cf3b948
commit
a5e227edfe
6 changed files with 33 additions and 15 deletions
4
hash.c
4
hash.c
|
@ -1557,9 +1557,9 @@ recursive_hash(VALUE hash, VALUE dummy, int recur)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* array.hash -> fixnum
|
||||
* hsh.hash -> fixnum
|
||||
*
|
||||
* Compute a hash-code for this array. Two arrays with the same content
|
||||
* Compute a hash-code for this hash. Two hashes with the same content
|
||||
* will have the same hash code (and will compare using <code>eql?</code>).
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue