aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--hash.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef270de085..d68931b930 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -66,6 +66,10 @@ Thu Aug 14 02:45:16 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/test_file_exhaustive.rb (TestFileExhaustive#setup):
set group of tmpdir. [ruby-dev:35633]
+Thu Aug 14 15:50:30 2008 Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
+
+ * hash.c (set_default): fix rdoc. #441
+
Thu Aug 14 02:23:31 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (econv_primitive_convert): add output_byteoffset
diff --git a/hash.c b/hash.c
index a1517db5de..bb43ccb034 100644
--- a/hash.c
+++ b/hash.c
@@ -573,7 +573,7 @@ rb_hash_default(int argc, VALUE *argv, VALUE hash)
/*
* call-seq:
- * hsh.default = obj => hsh
+ * hsh.default = obj => obj
*
* Sets the default value, the value returned for a key that does not
* exist in the hash. It is not possible to set the a default to a