diff options
author | Araq <rumpf_a@web.de> | 2015-10-19 16:11:39 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-10-19 16:11:39 +0200 |
commit | d221241ac56bf14a38ac9587a6b88b9fae2585c3 (patch) | |
tree | eba88559fda69923c9d5553666c5834484494dac /lib/system.nim | |
parent | 3ccd5ca64b62d1186e525ee7b89ca8b0dc94515c (diff) | |
download | Nim-d221241ac56bf14a38ac9587a6b88b9fae2585c3.tar.gz |
fixes wrong doc comments
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim index 5d36b4d9f..2fcfa2391 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -863,8 +863,8 @@ proc `mod` *(x, y: int32): int32 {.magic: "ModI", noSideEffect.} ## This is the same as ## ``x - (x div y) * y``. ## - # .. code-block:: Nim - ## (7 mod 5) == 2 + ## .. code-block:: Nim + ## (7 mod 5) == 2 when defined(nimnomagic64): proc `mod` *(x, y: int64): int64 {.magic: "ModI", noSideEffect.} @@ -1032,8 +1032,8 @@ proc `mod`*[T: SomeUnsignedInt](x, y: T): T {.magic: "ModU", noSideEffect.} ## This is the same as ## ``x - (x div y) * y``. ## - # .. code-block:: Nim - ## (7 mod 5) == 2 + ## .. code-block:: Nim + ## (7 mod 5) == 2 proc `<=`*[T: SomeUnsignedInt](x, y: T): bool {.magic: "LeU", noSideEffect.} ## Returns true iff ``x <= y``. |