Using low() instead of high() in example for low() procedure

This commit is contained in:
Sqwishy Trick 2015-12-02 20:59:34 -08:00
commit 16b2f4a76f

View file

@ -232,8 +232,8 @@ proc low*[T](x: T): T {.magic: "Low", noSideEffect.}
## ##
## .. code-block:: nim ## .. code-block:: nim
## var arr = [1,2,3,4,5,6,7] ## var arr = [1,2,3,4,5,6,7]
## high(arr) #=> 0 ## low(arr) #=> 0
## high(2) #=> -9223372036854775808 ## low(2) #=> -9223372036854775808
type type
range*{.magic: "Range".}[T] ## Generic type to construct range types. range*{.magic: "Range".}[T] ## Generic type to construct range types.