From cdb58a19cc02e59ad632860794f924383f24da61 Mon Sep 17 00:00:00 2001 From: zzak Date: Fri, 7 Aug 2015 18:42:01 +0000 Subject: * 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ hash.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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" } -- cgit v1.2.3