File tree Expand file tree Collapse file tree
include/ruby/internal/intern Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -591,10 +591,9 @@ void rb_must_asciicompat(VALUE obj);
591591VALUE rb_str_dup (VALUE str);
592592
593593/* *
594- * I guess there is no use case of this function in extension libraries, but
595- * this is a routine identical to rb_str_dup(), except it always creates an
596- * instance of ::rb_cString regardless of the given object's class. This makes
597- * the most sense when the passed string is formerly hidden by rb_obj_hide().
594+ * Like rb_str_dup(), but always create an instance of ::rb_cString
595+ * regardless of the given object's class. This makes the most sense
596+ * when the passed string is formerly hidden by rb_obj_hide().
598597 *
599598 * @param[in] str A string, possibly hidden.
600599 * @return A duplicated new instance of ::rb_cString.
You can’t perform that action at this time.
0 commit comments