summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-07-22 20:15:20 +0200
committerAraq <rumpf_a@web.de>2014-07-22 20:15:20 +0200
commitd195f08da0144b04d57f90715a371008ba063d6d (patch)
tree559049e4c367341559041f7913e21a9621a3fe22
parented226eba6dab432ba47f3bb6e4a6b3b1dea64330 (diff)
downloadNim-d195f08da0144b04d57f90715a371008ba063d6d.tar.gz
fixes #1395
-rw-r--r--lib/system.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2fb08563a..0a16efbb5 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -814,9 +814,9 @@ proc `of` *[T, S](x: T, y: S): bool {.magic: "Of", noSideEffect.}
   ## Checks if `x` has a type of `y`
   ##
   ## .. code-block:: Nimrod
-  ##   assert(EFloatingPoint is EBase)
-  ##   assert(EIO is ESystem)
-  ##   assert(EDivByZero is EBase)
+  ##   assert(EFloatingPoint of EBase)
+  ##   assert(EIO of ESystem)
+  ##   assert(EDivByZero of EBase)
 
 proc cmp*[T](x, y: T): int {.procvar.} =
   ## Generic compare proc. Returns a value < 0 iff x < y, a value > 0 iff x > y