From d221241ac56bf14a38ac9587a6b88b9fae2585c3 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 19 Oct 2015 16:11:39 +0200 Subject: [PATCH] fixes wrong doc comments --- lib/system.nim | 8 ++++---- 1 file 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``.