summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorSqwishy Trick <sqwishybon@gmail.com>2015-12-02 20:59:34 -0800
committerSqwishy Trick <sqwishybon@gmail.com>2015-12-02 20:59:34 -0800
commit16b2f4a76f452bbbeca3b37b17bd164939a0a8c6 (patch)
tree17116bb893a63e90fd2baa7275cec2abdd0eeb91 /lib
parent760242b870eb2c9054ef31489abbb230bb56eb72 (diff)
downloadNim-16b2f4a76f452bbbeca3b37b17bd164939a0a8c6.tar.gz
Using low() instead of high() in example for low() procedure
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2fb18fb51..ce7687c34 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -232,8 +232,8 @@ proc low*[T](x: T): T {.magic: "Low", noSideEffect.}
   ##
   ## .. code-block:: nim
   ##  var arr = [1,2,3,4,5,6,7]
-  ##  high(arr) #=> 0
-  ##  high(2) #=> -9223372036854775808
+  ##  low(arr) #=> 0
+  ##  low(2) #=> -9223372036854775808
 
 type
   range*{.magic: "Range".}[T] ## Generic type to construct range types.