summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string.c b/string.c
index 2ce6504fe1..e3e5fb99ac 100644
--- a/string.c
+++ b/string.c
@@ -2147,9 +2147,9 @@ rb_str_concat(VALUE str1, VALUE str2)
*
* Prepend---Prepend the given string to <i>str</i>.
*
- * a = "world"
- * a.prepend("hello ") #=> "hello world"
- * a #=> "hello world"
+ * a = "world"
+ * a.prepend("hello ") #=> "hello world"
+ * a #=> "hello world"
*/
static VALUE