aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-03 16:35:53 +0800
committerGitHub <noreply@github.com>2018-04-03 16:35:53 +0800
commit3fbdd65502542f701ca1e3f3dbf121f94ba0ca13 (patch)
tree8f24953cbe80e3ed046120484f180a0b1bfb17cd /docs
parentbe261ed519e472af071f0b70acfbc277a5861a20 (diff)
parent826de65e2d9db8f05879a6f4557a9c50936610d1 (diff)
downloaddexon-solidity-3fbdd65502542f701ca1e3f3dbf121f94ba0ca13.tar.gz
dexon-solidity-3fbdd65502542f701ca1e3f3dbf121f94ba0ca13.tar.zst
dexon-solidity-3fbdd65502542f701ca1e3f3dbf121f94ba0ca13.zip
Merge pull request #3807 from haoliangyu/patch-1
Fix a wrong number in the documentation
Diffstat (limited to 'docs')
-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``.