diff options
author | Simon Ruderich <simon@ruderich.org> | 2016-09-15 04:23:54 +0200 |
---|---|---|
committer | Simon Ruderich <simon@ruderich.org> | 2016-09-15 11:43:57 +0200 |
commit | e28bed3d84595ea427cd80c2b4411392d4cc8c1e (patch) | |
tree | 1623067b572814193c2e5d5b25ee017b53fe3330 | |
parent | a6e32365f703de28c0b9d393aad54616b2098e7b (diff) | |
download | Nim-e28bed3d84595ea427cd80c2b4411392d4cc8c1e.tar.gz |
system: <: add example of output to documentation
-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 f6992c89e..d5c859c48 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``. |