diff --git a/string.c b/string.c index 788d12deef..c18441a86d 100644 --- a/string.c +++ b/string.c @@ -8323,7 +8323,7 @@ chompped_length(VALUE str, VALUE rs) } /*! - * Returns the seperator for arguments of rb_str_chomp. + * Returns the separator for arguments of rb_str_chomp. * * @return returns rb_ps ($/) as default, the default value of rb_ps ($/) is "\n". */ @@ -9388,7 +9388,7 @@ rb_str_delete_prefix(VALUE str, VALUE prefix) * * @param str the target * @param suffix the suffix - * @retval 0 if the given str does not end with the given suffix + * @retval 0 if the given str does not end with the given suffix * @retval Positive-Integer otherwise */ static long