From 80e2242da6c4d7f1760cb08af72140e178642639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C3=ADque=20Kandy=20Koga?= Date: Tue, 5 Oct 2021 14:44:22 -0300 Subject: [ruby/irb] Update descriptions of methods From Reidline to Reline Update description used in take_corresponding_syntax_to_kw_do and is_the_in_correspond_to_a_for methods Use possessive noun correctly Second element https://github.com/ruby/irb/commit/4fa9714d6f --- lib/irb/ruby-lex.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/irb/ruby-lex.rb') diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index f0c056e297..d7ac17bd79 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -477,7 +477,7 @@ class RubyLex def take_corresponding_syntax_to_kw_do(tokens, index) syntax_of_do = nil - # Finding a syntax correnponding to "do". + # Finding a syntax corresponding to "do". index.downto(0) do |i| tk = tokens[i] # In "continue", the token isn't the corresponding syntax to "do". @@ -508,7 +508,7 @@ class RubyLex def is_the_in_correspond_to_a_for(tokens, index) syntax_of_in = nil - # Finding a syntax correnponding to "do". + # Finding a syntax corresponding to "do". index.downto(0) do |i| tk = tokens[i] # In "continue", the token isn't the corresponding syntax to "do". -- cgit v1.2.3