From f4a513650455ff44b05cbfc76a71961dd8e49400 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 14 Jun 2015 01:14:38 +0000 Subject: [PATCH] * lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in document. [fix GH-934] [ci skip] Patch by Anton Davydov. Thanks!!! warrent warrant ? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ lib/rexml/source.rb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8ef5dc6368..92e8f5b06c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Jun 14 10:13:55 2015 Kouhei Sutou + + * lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in + document. [fix GH-934] + Patch by Anton Davydov. Thanks!!! + Sun Jun 14 10:09:48 2015 Kouhei Sutou * lib/rexml/attlistdecl.rb (REXML::AttlistDecl): Fix a typo in diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb index cfafdbd67a..87f7232232 100644 --- a/lib/rexml/source.rb +++ b/lib/rexml/source.rb @@ -185,7 +185,7 @@ module REXML # You'll notice that this next section is very similar to the same # section in match(), but just a liiittle different. This is # because it is a touch faster to do it this way with scan() - # than the way match() does it; enough faster to warrent duplicating + # than the way match() does it; enough faster to warrant duplicating # some code if rv.size == 0 until @buffer =~ pattern or @source.nil?