aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:11:09 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:11:09 +0000
commit674382aafcde2375342c0daff9fdf958bdf2b38b (patch)
treeb74b45bbb975793cfe966fed4e67f20bd7f4fd40
parent4e4d425095ec360ecfa453bc0e72e4e81bd5e9e9 (diff)
downloadruby-674382aafcde2375342c0daff9fdf958bdf2b38b.tar.gz
string.c: fix typos
* string.c: [DOC] fix typos in doxygen comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
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 <i>str</i> does not end with the given suffix</i>
+ * @retval 0 if the given <i>str</i> does not end with the given <i>suffix</i>
* @retval Positive-Integer otherwise
*/
static long