diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 23:17:14 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 23:17:14 +0000 |
commit | 314c1d8956c56709d60675e8ed5d1a3d3b8405f0 (patch) | |
tree | b506349d0290162024eb2959c58a0367f7fbf0e9 | |
parent | e917b856351049521d07efdb30e9bf5bafd722e8 (diff) | |
download | ruby-314c1d8956c56709d60675e8ed5d1a3d3b8405f0.tar.gz |
NEWS: document shorter opt_str_freeze usage
Users do not read commit messages, but maybe they read NEWS.
r57828 ("compile.c: apply opt_str_freeze to String#-@ (uminus)")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ with all sufficient information, see the ChangeLog file or Redmine * String#-@ deduplicates unfrozen strings. Already-frozen strings remain unchanged for compatibility. [Feature #13077] + * -"literal" (String#-@) optimized to return the same object + (same as "literal".freeze in Ruby 2.1+) === Stdlib updates (outstanding ones only) |