summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string.c b/string.c
index 0ce8c40ecb..b3dba9c76f 100644
--- a/string.c
+++ b/string.c
@@ -9015,6 +9015,7 @@ rb_str_strip_bang(VALUE str)
*
* " hello ".strip #=> "hello"
* "\tgoodbye\r\n".strip #=> "goodbye"
+ * "hello".strip #=> "hello"
* "\x00\t\n\v\f\r ".strip #=> ""
*/