summaryrefslogtreecommitdiff
path: root/string.c
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
commit3262f4910fe2be78277f0a76a01d082dda5070d9 (patch)
treeb74b45bbb975793cfe966fed4e67f20bd7f4fd40 /string.c
parent086015a5cb48f58a90d33df8d0494520e2e9c34c (diff)
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
Diffstat (limited to 'string.c')
-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