aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaoliang Yu <haoliangyu@users.noreply.github.com>2018-04-03 10:22:38 +0800
committerGitHub <noreply@github.com>2018-04-03 10:22:38 +0800
commit826de65e2d9db8f05879a6f4557a9c50936610d1 (patch)
tree8f24953cbe80e3ed046120484f180a0b1bfb17cd
parentbe261ed519e472af071f0b70acfbc277a5861a20 (diff)
downloaddexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar.gz
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar.bz2
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar.lz
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar.xz
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.tar.zst
dexon-solidity-826de65e2d9db8f05879a6f4557a9c50936610d1.zip
fix a wrong number
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 121c4de0..8cc4f6b2 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -679,7 +679,7 @@ candidate, resolution fails.
}
}
-Calling ``f(50)`` would create a type error since ``250`` can be implicitly converted both to ``uint8``
+Calling ``f(50)`` would create a type error since ``50`` can be implicitly converted both to ``uint8``
and ``uint256`` types. On another hand ``f(256)`` would resolve to ``f(uint256)`` overload as ``256`` cannot be implicitly
converted to ``uint8``.