aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-07 13:04:39 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-07 13:04:39 +0000
commitf75cebe2c7d7a0d9a5126eac523cf576f388085e (patch)
tree32c77fdf0a4167a90e08738f289cf164d94b66c0 /string.c
parent275a08652ace517e3c3a564615b1c3a4be01dfd3 (diff)
downloadruby-f75cebe2c7d7a0d9a5126eac523cf576f388085e.tar.gz
string.c: [DOC] Fix a typo in String#dump
[Fix GH-1531][ci skip] Author: Alex Semyonov <alex@semyonov.us> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57802 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 be74fd8b72..523d1e5ca7 100644
--- a/string.c
+++ b/string.c
@@ -5787,7 +5787,7 @@ rb_str_inspect(VALUE str)
* Produces a version of +str+ with all non-printing characters replaced by
* <code>\nnn</code> notation and all special characters escaped.
*
- * "hello \n ''".dump #=> "\"hello \\n ''\"
+ * "hello \n ''".dump #=> "\"hello \\n ''\""
*/
VALUE