aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 06:58:56 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 06:58:56 +0000
commit11b804feeea98a5851111627134663777a018f22 (patch)
tree2e7df9bb5537b1dd8ad605e29066312adde4af14 /doc
parent5ac401c8dcd6d79c21aea09ee180ce1ba1a9fc18 (diff)
downloadruby-11b804feeea98a5851111627134663777a018f22.tar.gz
[DOC] Remove `\0` since it's aprt of octal notation
A typo is fixed while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/syntax/literals.rdoc3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index 32f106360a..cbd18e9d4f 100644
--- a/doc/syntax/literals.rdoc
+++ b/doc/syntax/literals.rdoc
@@ -87,7 +87,6 @@ Double-quote strings allow escaped characters such as <tt>\n</tt> for
newline, <tt>\t</tt> for tab, etc. The full list of supported escape
sequences are as follows:
- \0 null, ASCII 00h (NUL), only if not followed by an octal digit ([0-7])
\a bell, ASCII 07h (BEL)
\b backspace, ASCII 08h (BS)
\t horizontal tab, ASCII 09h (TAB)
@@ -109,7 +108,7 @@ sequences are as follows:
\c\M-x same as above
\c? or \C-? delete, ASCII 7Fh (DEL)
-Any other charater followed by a backslash is interpreted as the
+Any other character followed by a backslash is interpreted as the
character itself.
Double-quote strings allow interpolation of other values using