[前][次][番号順一覧][スレッド一覧]

ruby-changes:26810

From: eregon <ko1@a...>
Date: Thu, 17 Jan 2013 20:29:03 +0900 (JST)
Subject: [ruby-changes:26810] eregon:r38862 (trunk): * object.c: Typo in Kernel#hash documentation.

eregon	2013-01-17 20:28:52 +0900 (Thu, 17 Jan 2013)

  New Revision: 38862

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38862

  Log:
    * object.c: Typo in Kernel#hash documentation.
      Patch by zed_0xff [Github Fixes #237]

  Modified files:
    trunk/ChangeLog
    trunk/object.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38861)
+++ ChangeLog	(revision 38862)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan 17 20:28:18 2013  Benoit Daloze  <eregontp@g...>
+
+	* object.c: Typo in Kernel#hash documentation.
+	  Patch by zed_0xff [Github Fixes #237]
+
 Thu Jan 17 10:48:56 2013  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych/scalar_scanner.rb: use constants rather than
Index: object.c
===================================================================
--- object.c	(revision 38861)
+++ object.c	(revision 38862)
@@ -114,7 +114,7 @@ rb_obj_equal(VALUE obj1, VALUE obj2) https://github.com/ruby/ruby/blob/trunk/object.c#L114
 
 /*
  * 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
  * two objects reference the same hash key.  Any hash value that exceeds the

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]