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 * \nnn notation and all special characters escaped. * - * "hello \n ''".dump #=> "\"hello \\n ''\" + * "hello \n ''".dump #=> "\"hello \\n ''\"" */ VALUE