aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chriswhward@gmail.com>2018-10-05 21:53:01 +0800
committerChris Ward <chriswhward@gmail.com>2018-10-05 21:53:01 +0800
commit36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf (patch)
tree787a25e09d681917a59a25b519fd9c787fec6c29
parent44c1293aa79f55e6b529c075ee75284a25f6ba17 (diff)
downloaddexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar.gz
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar.bz2
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar.lz
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar.xz
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.tar.zst
dexon-solidity-36c2f9c33f8faad2393d9e962eeeb167b6f7ebbf.zip
Add link to string literals
-rw-r--r--docs/types.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index dfe77728..e265e668 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -458,6 +458,7 @@ a non-rational number).
uint128 b = 2.5 + a + 0.5;
.. index:: literal, literal;string, string
+.. _string_literals:
String Literals
---------------
@@ -501,7 +502,7 @@ Hexadecimal Literals
Hexadecimal literals are prefixed with the keyword ``hex`` and are enclosed in double or single-quotes (``hex"001122FF"``). Their content must be a hexadecimal string and their value will be the binary representation of those values.
-Hexadecimal literals behave like string literals and have the same convertibility restrictions.
+Hexadecimal literals behave like :ref:`string literals <string_literals>` and have the same convertibility restrictions.
.. index:: enum