diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-27 12:54:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-27 12:54:42 +0900 |
commit | fe4dd18db4ef0d0cc0192949538c07110516b69a (patch) | |
tree | a88d2151c5f39e2066e55c5bb2c0ead959cb5c74 /string.c | |
parent | d6f21b308bcff03e82f8b3dbf11a852ce111b3b3 (diff) | |
download | ruby-fe4dd18db4ef0d0cc0192949538c07110516b69a.tar.gz |
[DOC] Fix a typo [ci skip]
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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+. |