summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index a3aac2fcbf..d1b2e5aee0 100644
--- a/string.c
+++ b/string.c
@@ -9464,7 +9464,7 @@ chompped_length(VALUE str, VALUE rs)
/*!
* Returns the separator for arguments of rb_str_chomp.
*
- * @return returns rb_ps ($/) as default, the default value of rb_ps ($/) is "\n".
+ * @return returns rb_rs ($/) as default, the default value of rb_rs ($/) is "\n".
*/
static VALUE
chomp_rs(int argc, const VALUE *argv)