mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix a typo [ci skip]
This commit is contained in:
parent
d6f21b308b
commit
fe4dd18db4
1 changed files with 1 additions and 1 deletions
2
string.c
2
string.c
|
@ -5437,7 +5437,7 @@ rb_str_aset(VALUE str, VALUE indx, VALUE val)
|
|||
* string[index] = new_string
|
||||
* string[start, length] = new_string
|
||||
* string[range] = new_string
|
||||
* string[regexp, capture = 0) = new_string
|
||||
* string[regexp, capture = 0] = new_string
|
||||
* string[substring] = new_string
|
||||
*
|
||||
* Replaces all, some, or none of the contents of +self+; returns +new_string+.
|
||||
|
|
Loading…
Reference in a new issue