summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Gupta <139687128+vwake01@users.noreply.github.com>2024-03-26 13:05:02 +0530
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-04-11 12:16:47 +0900
commite9fd34750f96a9fd1aed94b436996b25685d48d9 (patch)
tree171200da73ef739599313f1616fe5429184c4e14
parent207788466eedfdefcf09fdc5c6217547b5ce4ed1 (diff)
[DOC] Typo fix in NEWS.md
Fix https://github.com/ruby/ruby/pull/10366
-rw-r--r--NEWS.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/NEWS.md b/NEWS.md
index 18c030909c..bdb4fa1eb1 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -8,17 +8,16 @@ Note that each entry is kept to a minimum, see links for details.
## Language changes
* String literals in files without a `frozen_string_literal` comment now behave
- as if they were frozen. If they are mutated a deprecation warning is emited.
+ as if they were frozen. If they are mutated a deprecation warning is emitted.
These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`.
- To disable this change you can run Ruby with the `--disable-frozen-string-literal` command line
- argument. [[Feature #20205]]
+ To disable this change, you can run Ruby with the `--disable-frozen-string-literal`
+ command line argument. [[Feature #20205]]
* `it` is added to reference a block parameter. [[Feature #18980]]
* Keyword splatting `nil` when calling methods is now supported.
- `**nil` is treated similar to `**{}`, passing no keywords,
- and not calling any conversion methods.
- [[Bug #20064]]
+ `**nil` is treated similarly to `**{}`, passing no keywords,
+ and not calling any conversion methods. [[Bug #20064]]
* Block passing is no longer allowed in index. [[Bug #19918]]