From adce0ea944a9876107808fea5a5972089ae6d18b Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 16 Mar 2017 23:17:14 +0000 Subject: [PATCH] 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 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 576071c18f..4adff4d68f 100644 --- a/NEWS +++ b/NEWS @@ -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)