summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorShugo Maeda <shugo@ruby-lang.org>2021-09-11 20:23:36 +0900
committerShugo Maeda <shugo@ruby-lang.org>2021-09-11 20:23:36 +0900
commit297f9b8d4c4502aa2ba0eccf93dfce215a7b6dfe (patch)
tree0b47c4b68336f12c62187ec3ce612934f4f289c2 /NEWS.md
parentd05ef38865af8dd43fd583e46f46509fe29e93cb (diff)
Add documentation and tests for keyword argument value omission
[Feature #14579]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS.md b/NEWS.md
index 6c5c0d4e3c..666f857c49 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -69,10 +69,10 @@ Note that each entry is kept to a minimum, see links for details.
[[Bug #4443]]
-* Values in Hash literals can be omitted. [[Feature #14579]]
+* Values in Hash literals and keyword arguments can be omitted. [[Feature #14579]]
`{x:, y:}` is a syntax sugar of `{x: x, y: y}`.
-
+ `foo(x:, y:)` is a syntax sugar of `foo(x: x, y: y)`.
## Command line options