diff --git a/string.c b/string.c index 4e1e81a4c4..8c5bc3eef1 100644 --- a/string.c +++ b/string.c @@ -9232,7 +9232,7 @@ rb_str_chomp_bang(int argc, VALUE *argv, VALUE str) * Returns a new String with the given record separator removed * from the end of str (if present). If $/ has not been * changed from the default Ruby record separator, then chomp also - * removes carriage return characters (that is it will remove \n, + * removes carriage return characters (that is, it will remove \n, * \r, and \r\n). If $/ is an empty string, * it will remove all trailing newlines from the string. *