From b36a3c6bf58cd4061e14bc03819d21536372b0ea Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 20 Nov 2021 22:41:19 +0000 Subject: [PATCH] Fix documentation for valid ASCII string literals --- docs/types/value-types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types/value-types.rst b/docs/types/value-types.rst index f849f3f7e..4cb0dec4f 100644 --- a/docs/types/value-types.rst +++ b/docs/types/value-types.rst @@ -507,7 +507,7 @@ String literals are written with either double or single-quotes (``"foo"`` or `` For example, with ``bytes32 samevar = "stringliteral"`` the string literal is interpreted in its raw byte form when assigned to a ``bytes32`` type. -String literals can only contain printable ASCII characters, which means the characters between and including 0x1F .. 0x7E. +String literals can only contain printable ASCII characters, which means the characters between and including 0x20 .. 0x7E. Additionally, string literals also support the following escape characters: