string.c: [DOC] fix doc formatting for String#==, #===

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2017-03-04 20:08:04 +00:00
parent b637593ae7
commit 3ca1cbecc6

View File

@ -3116,9 +3116,7 @@ str_eql(const VALUE str1, const VALUE str2)
* str == obj -> true or false * str == obj -> true or false
* str === obj -> true or false * str === obj -> true or false
* *
* === Equality * Equality---Returns whether +str+ == +obj+, similar to Object#==.
*
* Returns whether +str+ == +obj+, similar to Object#==.
* *
* If +obj+ is not an instance of String but responds to +to_str+, then the * If +obj+ is not an instance of String but responds to +to_str+, then the
* two strings are compared using <code>obj.==</code>. * two strings are compared using <code>obj.==</code>.