Skip to content

Commit

Permalink
Grammar fixes
Browse files Browse the repository at this point in the history
(cherry picked from commit 7364794)
  • Loading branch information
Clyybber authored and narimiran committed Nov 5, 2020
1 parent e085010 commit 208ed6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/pure/collections/sequtils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ iterator filter*[T](s: openArray[T], pred: proc(x: T): bool {.closure.}): T =
## predicate `pred` (function that returns a `bool`).
##
## Instead of using `map` and `filter`, consider using the `collect` macro
## from `sugar` module.
## from the `sugar` module.
##
## See also:
## * `sugar.collect macro<sugar.html#collect.m%2Cuntyped%2Cuntyped>`_
Expand All @@ -460,7 +460,7 @@ proc filter*[T](s: openArray[T], pred: proc(x: T): bool {.closure.}): seq[T]
## predicate `pred` (function that returns a `bool`).
##
## Instead of using `map` and `filter`, consider using the `collect` macro
## from `sugar` module.
## from the `sugar` module.
##
## See also:
## * `sugar.collect macro<sugar.html#collect.m%2Cuntyped%2Cuntyped>`_
Expand Down Expand Up @@ -580,7 +580,7 @@ template filterIt*(s, pred: untyped): untyped =
## for testing, like: ``filterIt("abcxyz", it == 'x')``.
##
## Instead of using `mapIt` and `filterIt`, consider using the `collect` macro
## from `sugar` module.
## from the `sugar` module.
##
## See also:
## * `sugar.collect macro<sugar.html#collect.m%2Cuntyped%2Cuntyped>`_
Expand Down Expand Up @@ -940,7 +940,7 @@ template mapIt*(s: typed, op: untyped): untyped =
## expression.
##
## Instead of using `mapIt` and `filterIt`, consider using the `collect` macro
## from `sugar` module.
## from the `sugar` module.
##
## See also:
## * `sugar.collect macro<sugar.html#collect.m%2Cuntyped%2Cuntyped>`_
Expand Down

0 comments on commit 208ed6e

Please sign in to comment.