string.c: small doc improvement

* string.c: [DOC] move unaltered case for String#strip to the end,
  similar to other strip methods.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2018-10-13 19:02:51 +00:00
parent 921dc157d8
commit ee49d04540

View File

@ -9023,8 +9023,8 @@ rb_str_strip_bang(VALUE str)
*
* " hello ".strip #=> "hello"
* "\tgoodbye\r\n".strip #=> "goodbye"
* "hello".strip #=> "hello"
* "\x00\t\n\v\f\r ".strip #=> ""
* "hello".strip #=> "hello"
*/
static VALUE