diff options
-rw-r--r-- | lib/pure/collections/sequtils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 0cc91b0d0..ea02ff1fd 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -601,7 +601,7 @@ template keepItIf*(varSeq: seq, pred: untyped) = setLen(varSeq, pos) since (1, 1): - template countIt*(s, pred: untyped): Natural = + template countIt*(s, pred: untyped): int = ## Returns a count of all the items that fulfilled the predicate. ## ## The predicate needs to be an expression using |