From 28458092dc2e98027978bc187a1e824a202c527a Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Thu, 20 May 2021 05:03:55 +0000 Subject: [PATCH] Remove extra word from Here Documents syntax doc --- doc/syntax/literals.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index d6d677806e..c49ba9325b 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -220,9 +220,9 @@ You may indent the ending identifier if you place a "-" after <<: That might span many lines INDENTED_HEREDOC -Note that the while the closing identifier may be indented, the content is -always treated as if it is flush left. If you indent the content those spaces -will appear in the output. +Note that while the closing identifier may be indented, the content is always +treated as if it is flush left. If you indent the content those spaces will +appear in the output. To have indented content as well as an indented closing identifier, you can use a "squiggly" heredoc, which uses a "~" instead of a "-" after <<: -- 2.31.1