summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 02:52:14 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 02:52:14 +0000
commit52cd994814335d6cee5ee4fae2827edd5e0d73b9 (patch)
treebfdd943ca353ca3c29be13bc4641b6e94add469e /string.c
parent53e4e7fc3d5df29ca8287a3e39dc9dd865706ca0 (diff)
* enum.c: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz * io.c: ditto. * iseq.c: ditto. * numeric.c: ditto. * process.c: ditto. * string.c: ditto. * vm_trace.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 319c51647e..1bd7582495 100644
--- a/string.c
+++ b/string.c
@@ -4527,7 +4527,7 @@ rb_str_sub_bang(int argc, VALUE *argv, VALUE str)
* additional backslash. However, within +replacement+ the special match
* variables, such as <code>&$</code>, will not refer to the current match.
* If +replacement+ is a String that looks like a pattern's capture group but
- * is actaully not a pattern capture group e.g. <code>"\\'"</code>, then it
+ * is actually not a pattern capture group e.g. <code>"\\'"</code>, then it
* will have to be preceded by two backslashes like so <code>"\\\\'"</code>.
*
* If the second argument is a Hash, and the matched text is one of its keys,