Skip to content

Commit

Permalink
[backport] fix nim-lang#13352
Browse files Browse the repository at this point in the history
(cherry picked from commit 36d1ad3)
  • Loading branch information
narimiran committed Feb 19, 2020
1 parent a9fa981 commit bdb679c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pure/algorithm.nim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
## (year: 2010, name: "Jane")]
##
## proc myCmp(x, y: People): int =
## if x.name < y.name: -1 else: 1
## if x.name < y.name: -1
## elif x.name == y.name: 0
## else: 1
##
## # Sorting with custom proc
## a.sort(myCmp)
Expand Down
3 changes: 3 additions & 0 deletions lib/system/io.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# distribution, for details about the copyright.
#

## This is a part of ``system.nim``, you should not manually import it.


include inclrtl
import formatfloat

Expand Down

0 comments on commit bdb679c

Please sign in to comment.