aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--hash.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 725462fdd2..4ef948b1ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Aug 8 03:39:33 2015 Zachary Scott <zzak@ruby-lang.org>
+
+ * hash.c: [DOC] Improve description of symbol key syntax
+ Patch by Raphael Das Gupta in documenting-ruby/ruby#51:
+ https://github.com/documenting-ruby/ruby/pull/51
+
Fri Aug 7 21:04:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_params): turn in_def and in_single into bit
diff --git a/hash.c b/hash.c
index 4d5b4c63df..3cdc75e20c 100644
--- a/hash.c
+++ b/hash.c
@@ -3909,7 +3909,7 @@ env_update(VALUE env, VALUE hash)
*
* grades = { "Jane Doe" => 10, "Jim Doe" => 6 }
*
- * Hashes allow an alternate syntax form when your keys are always symbols.
+ * Hashes allow an alternate syntax for keys that are symbols.
* Instead of
*
* options = { :font_size => 10, :font_family => "Arial" }