ruby-changes:68015
From: Nobuyoshi <ko1@a...>
Date: Thu, 16 Sep 2021 23:49:34 +0900 (JST)
Subject: [ruby-changes:68015] cbbda3e648 (master): Adjust indent in string.c [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=cbbda3e648 From cbbda3e648f8eff032679cdddb0ce48643cdd723 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 16 Sep 2021 23:49:16 +0900 Subject: Adjust indent in string.c [ci skip] --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 267efd4..7f9559c 100644 --- a/string.c +++ b/string.c @@ -4630,7 +4630,7 @@ rb_str_include_range_p(VALUE beg, VALUE end, VALUE val, VALUE exclusive) https://github.com/ruby/ruby/blob/trunk/string.c#L4630 if (ISASCII(b) && ISASCII(e) && ISASCII(v)) { if (b <= v && v < e) return Qtrue; - return RBOOL(!RTEST(exclusive) && v == e); + return RBOOL(!RTEST(exclusive) && v == e); } } } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/