From e28bed3d84595ea427cd80c2b4411392d4cc8c1e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 15 Sep 2016 04:23:54 +0200 Subject: [PATCH] system: <: add example of output to documentation --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index f6992c89e8..d5c859c48c 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -605,7 +605,7 @@ proc `<`*[T](x: Ordinal[T]): T {.magic: "UnaryLt", noSideEffect.} ## unary ``<`` that can be used for nice looking excluding ranges: ## ## .. code-block:: nim - ## for i in 0 .. <10: echo i + ## for i in 0 .. <10: echo i #=> 0 1 2 3 4 5 6 7 8 9 ## ## Semantically this is the same as ``pred``.