From 16b2f4a76f452bbbeca3b37b17bd164939a0a8c6 Mon Sep 17 00:00:00 2001 From: Sqwishy Trick Date: Wed, 2 Dec 2015 20:59:34 -0800 Subject: Using low() instead of high() in example for low() procedure --- lib/system.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/system.nim') 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. -- cgit 1.4.1-2-gfad0