From 7523a076c1ae2b3d7b55fcaa357c05ddb2c132a2 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 12 Mar 2017 17:10:14 +0000 Subject: merge revision(s) 57802: string.c: [DOC] Fix a typo in String#dump [Fix GH-1531][ci skip] Author: Alex Semyonov git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 312d82042e..6b6e750834 100644 --- a/string.c +++ b/string.c @@ -5717,7 +5717,7 @@ rb_str_inspect(VALUE str) * Produces a version of +str+ with all non-printing characters replaced by * \nnn notation and all special characters escaped. * - * "hello \n ''".dump #=> "\"hello \\n ''\" + * "hello \n ''".dump #=> "\"hello \\n ''\"" */ VALUE -- cgit v1.2.3