[前][次][番号順一覧][スレッド一覧]

ruby-changes:72318

From: Kazuhiro <ko1@a...>
Date: Sun, 26 Jun 2022 14:17:49 +0900 (JST)
Subject: [ruby-changes:72318] 846a6bb60f (master): [DOC] Fix a typo [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=846a6bb60f

From 846a6bb60ff5fe085ce90442a11e0dceadf8a0e9 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Sun, 26 Jun 2022 14:17:14 +0900
Subject: [DOC] Fix a typo [ci skip]

---
 re.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/re.c b/re.c
index 002be7ce9e..0f0eba0552 100644
--- a/re.c
+++ b/re.c
@@ -3703,7 +3703,7 @@ str_to_option(VALUE str) https://github.com/ruby/ruby/blob/trunk/re.c#L3703
  *  +timeout+ keyword.
  *
  *      options = Regexp::MULTILINE
- *      r = Regexp.new('foo', optinos, timeout: 1.1) # => /foo/m
+ *      r = Regexp.new('foo', options, timeout: 1.1) # => /foo/m
  *      r2 = Regexp.new(r)                           # => /foo/m
  *      r2.timeout                                   # => 1.1
  *      r3 = Regexp.new(r, timeout: 3.14)            # => /foo/m
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]