summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 01:14:38 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-14 01:14:38 +0000
commitf4a513650455ff44b05cbfc76a71961dd8e49400 (patch)
tree53ecb5bfc399d712f9efba7e6069d87001cc31dc
parent924baabddb7b8cde689480fd635f4a32ee352711 (diff)
* 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
-rw-r--r--ChangeLog6
-rw-r--r--lib/rexml/source.rb2
2 files changed, 7 insertions, 1 deletions
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 <kou@cozmixng.org>
+
+ * 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 <kou@cozmixng.org>
* 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?