mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 02:42:05 +00:00
[backport] fix #13352
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user