mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
'sequtils doesn't take confusing default args anymore
This commit is contained in:
@@ -217,7 +217,7 @@ proc keepIf*[T](seq1: var seq[T], pred: proc(item: T): bool {.closure.}) =
|
||||
inc(pos)
|
||||
setLen(seq1, pos)
|
||||
|
||||
proc delete*[T](s: var seq[T], first=0, last=0) =
|
||||
proc delete*[T](s: var seq[T]; first, last: Natural) =
|
||||
## Deletes in `s` the items at position `first` .. `last`. This modifies
|
||||
## `s` itself, it does not return a copy.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user