Skip to content

Commit c6dec4c

Browse files
committed
Small improvements in 2.3.0-preview1 post (en)
1 parent 784a9ae commit c6dec4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

en/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0.
1313
Many new features and improvements are included.
1414

1515
[Frozen String Literal
16-
Pragma](https://bugs.ruby-lang.org/issues/11473) is introduced. On
17-
Ruby 2.1, `"str".freeze` is optimized to reduce object allocation.
16+
Pragma](https://bugs.ruby-lang.org/issues/11473) is introduced.
17+
With Ruby 2.1, `"str".freeze` was optimized to reduce object allocation.
1818
Ruby 2.3 introduces a new magic comment and command line option to
19-
specify all the string literals in the source files.
19+
freeze all string literals in the source files.
2020
Additionally for debugging, you can get where the object is created on
2121
`"can't modify frozen String"` error by
2222
`--enable-frozen-string-literal-debug`.

0 commit comments

Comments
 (0)