summaryrefslogtreecommitdiff
path: root/doc/syntax/literals.rdoc
diff options
context:
space:
mode:
authorydah <[email protected]>2024-12-22 17:39:00 +0900
committerNobuyoshi Nakada <[email protected]>2024-12-22 18:09:02 +0900
commitb8fe5550e7e0e623805a954b148286bda2b38ecd (patch)
tree4c00703a46221abdf00709f566f8a1454a14274a /doc/syntax/literals.rdoc
parentb0d40d3d039d50afd6ca7e95f77cfb3932a50b69 (diff)
s/backslashs/backslashes/
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12426
Diffstat (limited to 'doc/syntax/literals.rdoc')
-rw-r--r--doc/syntax/literals.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index c92783565b..9ccc043529 100644
--- a/doc/syntax/literals.rdoc
+++ b/doc/syntax/literals.rdoc
@@ -513,7 +513,7 @@ The created string is the same as if you created it with single quotes:
%q{foo{bar}baz} # => "foo{bar}baz" # braces can be nested.
%q<foo<bar>baz> # => "foo<bar>baz" # angle brackets can be nested.
-This is similar to single-quoted string but only backslashs and
+This is similar to single-quoted string but only backslashes and
the specified delimiters can be escaped with a backslash.
=== <tt>% and %Q</tt>: Interpolable String Literals
@@ -590,7 +590,7 @@ You can write a symbol with <tt>%s</tt>:
This is non-interpolable.
No interpolation allowed.
-Only backslashs and the specified delimiters can be escaped with a backslash.
+Only backslashes and the specified delimiters can be escaped with a backslash.
=== <tt>%r</tt>: Regexp Literals