diff options
author | John Scillieri <john.scillieri@visionistinc.com> | 2017-04-05 17:50:48 -0400 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-04-05 23:50:48 +0200 |
commit | 4ba6f9808e057928b14ca89ae065154b0c5559b2 (patch) | |
tree | 397cba48abc59fcec1673024555a4b6be85158fc | |
parent | 88c4d6aabed415150068b440ce8860644aa56152 (diff) | |
download | Nim-4ba6f9808e057928b14ca89ae065154b0c5559b2.tar.gz |
Update 'compiles' documentation to remove not (#5666)
Documentation for proc compiles showed a broken/unintuitive example (unless i missed something)
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 3d5e5f972..82d3bb7f7 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3663,7 +3663,7 @@ proc compiles*(x: untyped): bool {.magic: "Compiles", noSideEffect, compileTime. ## This can be used to check whether a type supports some operation: ## ## .. code-block:: Nim - ## when not compiles(3 + 4): + ## when compiles(3 + 4): ## echo "'+' for integers is available" discard |