Skip to content

Commit

Permalink
[ci skip] docfix .. < => ..< (nim-lang#12981) [backport]
Browse files Browse the repository at this point in the history
(cherry picked from commit 8c19372)
  • Loading branch information
timotheecour authored and narimiran committed Dec 30, 2019
1 parent f9d30dc commit 7afe6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tut1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ is possible, and actually an idiom:
:test: "nim c $1"
proc printSeq(s: seq, nprinted: int = -1) =
var nprinted = if nprinted == -1: s.len else: min(nprinted, s.len)
for i in 0 .. <nprinted:
for i in 0 ..< nprinted:
echo s[i]
If the procedure needs to modify the argument for the
Expand Down

0 comments on commit 7afe6b1

Please sign in to comment.