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

* object.c: Typo in Kernel#hash documentation.

Patch by zed_0xff [Github Fixes #237]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2013-01-17 11:28:52 +00:00
parent 03d19637f6
commit 3a50fb15d0
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 17 20:28:18 2013 Benoit Daloze <eregontp@gmail.com>
* object.c: Typo in Kernel#hash documentation.
Patch by zed_0xff [Github Fixes #237]
Thu Jan 17 10:48:56 2013 Aaron Patterson <aaron@tenderlovemaking.com> Thu Jan 17 10:48:56 2013 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/scalar_scanner.rb: use constants rather than * ext/psych/lib/psych/scalar_scanner.rb: use constants rather than

View file

@ -114,7 +114,7 @@ rb_obj_equal(VALUE obj1, VALUE obj2)
/* /*
* Generates a Fixnum hash value for this object. This function must have the * Generates a Fixnum hash value for this object. This function must have the
* property that <code>a.eql?(b)<code> implies <code>a.hash == b.hash</code>. * property that <code>a.eql?(b)</code> implies <code>a.hash == b.hash</code>.
* *
* The hash value is used along with #eql? by the Hash class to determine if * The hash value is used along with #eql? by the Hash class to determine if
* two objects reference the same hash key. Any hash value that exceeds the * two objects reference the same hash key. Any hash value that exceeds the