mruby-string-ext (str_uminus): remove wrong document

In mruby, deduplication of strings is not implemented (yet), so we have
to remove the description from `String#-@` document.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-01-13 23:00:13 +09:00
parent c53d9a33fc
commit 4f8fd23f7a
-4
View File
@@ -1304,10 +1304,6 @@ str_uplus(mrb_state *mrb, mrb_value str)
*
* Returns a frozen, possibly pre-existing copy of the string.
*
* The returned \String will be deduplicated as long as it does not have
* any instance variables set on it and is not a String subclass.
*
* String#dedup is an alias for String#-@.
*/
static mrb_value
str_uminus(mrb_state *mrb, mrb_value str)