summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-01 21:20:44 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-01 21:20:44 +0000
commita5e227edfe3d6dbfe24c2a74e347904151e85c6c (patch)
tree453c6c36ccf08952f5546407366af1b76f5f56d2 /hash.c
parent841cf3b9488c0e7ea23b92acbb9078dee3347deb (diff)
* 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
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 5d85797c24..6579a1eac2 100644
--- a/hash.c
+++ b/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>).
*/