summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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