ruby-changes:73074
From: Nobuyoshi <ko1@a...>
Date: Sat, 27 Aug 2022 12:56:04 +0900 (JST)
Subject: [ruby-changes:73074] fe4dd18db4 (master): [DOC] Fix a typo [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=fe4dd18db4 From fe4dd18db4ef0d0cc0192949538c07110516b69a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 27 Aug 2022 12:54:42 +0900 Subject: [DOC] Fix a typo [ci skip] --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index cd4a593856..564812ae51 100644 --- a/string.c +++ b/string.c @@ -5437,7 +5437,7 @@ rb_str_aset(VALUE str, VALUE indx, VALUE val) https://github.com/ruby/ruby/blob/trunk/string.c#L5437 * 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+. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/