mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user