Skip to content

Commit b438915

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] TWeaks for String#delete!
1 parent e1bc92d commit b438915

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

string.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8866,9 +8866,10 @@ tr_find(unsigned int c, const char table[TR_TABLE_SIZE], VALUE del, VALUE nodel)
88668866
* call-seq:
88678867
* delete!(*selectors) -> self or nil
88688868
*
8869-
* Like String#delete, but modifies +self+ in place.
8870-
* Returns +self+ if any changes were made, +nil+ otherwise.
8869+
* Like String#delete, but modifies +self+ in place;
8870+
* returns +self+ if any characters were deleted, +nil+ otherwise.
88718871
*
8872+
* Related: see {Modifying}[rdoc-ref:String@Modifying].
88728873
*/
88738874

88748875
static VALUE

0 commit comments

Comments
 (0)