summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 11:27:06 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-22 11:27:06 +0000
commit6693e3e7230ca64b01ffb24d2693af1c77bd2998 (patch)
treef29f3da805c1e36c190792427e4336b251ee5f07 /lib
parentdfee14d34cd8c3c9b7acc27372e06eb5bfcfd5c1 (diff)
Fixed misspelling words.
These are detected by https://github.com/client9/misspell git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http/header.rb4
-rw-r--r--lib/racc/rdoc/grammar.en.rdoc2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb
index 8f3206d363..3484b5b681 100644
--- a/lib/net/http/header.rb
+++ b/lib/net/http/header.rb
@@ -77,7 +77,7 @@ module Net::HTTPHeader
else
val = val.to_s
if /[\r\n]/n.match?(val.b)
- raise ArgumentError, 'header field value cannnot include CR/LF'
+ raise ArgumentError, 'header field value cannot include CR/LF'
end
@header[key.downcase] = [val]
end
@@ -90,7 +90,7 @@ module Net::HTTPHeader
else
val = val.to_s
if /[\r\n]/n.match?(val.b)
- raise ArgumentError, 'header field value cannnot include CR/LF'
+ raise ArgumentError, 'header field value cannot include CR/LF'
end
ary.push val
end
diff --git a/lib/racc/rdoc/grammar.en.rdoc b/lib/racc/rdoc/grammar.en.rdoc
index c00e19daff..af10803f3a 100644
--- a/lib/racc/rdoc/grammar.en.rdoc
+++ b/lib/racc/rdoc/grammar.en.rdoc
@@ -16,7 +16,7 @@ You can insert comments about all places. Two styles of comments can be used, Ru
The class block is formed like this:
class CLASS_NAME
- [precedance table]
+ [precedence table]
[token declarations]
[expected number of S/R conflicts]
[options]