aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-10 12:44:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-10 12:57:35 +0900
commitbba2b70949e2b720d364875ae962bb72037bade5 (patch)
treefaf64fe84bab0f806249963a6f7b0f26fc0b74cb /NEWS.md
parent384feb6c519b971f3f63f2e47419a84d868a6646 (diff)
downloadruby-bba2b70949e2b720d364875ae962bb72037bade5.tar.gz
RDoc markdown parser needs explicit code block or more indents [ci skip]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index eef19bc952..70da707bba 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -19,6 +19,7 @@ sufficient information, see the ChangeLog file or Redmine
accepting a single rest argument and no keywords.
[[Feature #16166]]
+ ```ruby
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
@@ -28,6 +29,7 @@ sufficient information, see the ChangeLog file or Redmine
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => [[[1, {:a=>1}]], {}]
+ ```
* $SAFE is now a normal global variable with no special behavior.
[[Feature #16131]]