Skip to content

Commit b36a3c6

Browse files
authored
Fix documentation for valid ASCII string literals
1 parent 2aeeef8 commit b36a3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/value-types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ String literals are written with either double or single-quotes (``"foo"`` or ``
507507

508508
For example, with ``bytes32 samevar = "stringliteral"`` the string literal is interpreted in its raw byte form when assigned to a ``bytes32`` type.
509509

510-
String literals can only contain printable ASCII characters, which means the characters between and including 0x1F .. 0x7E.
510+
String literals can only contain printable ASCII characters, which means the characters between and including 0x20 .. 0x7E.
511511

512512
Additionally, string literals also support the following escape characters:
513513

0 commit comments

Comments
 (0)