diff options
author | Clyybber <darkmine956@gmail.com> | 2020-10-30 16:00:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 16:00:37 +0100 |
commit | 7364794fedcf8ee20ca5a55f58c14c76dfa31723 (patch) | |
tree | d7380bc2f4aa03606c5d58c22ffd5df807a95446 /lib/pure/collections | |
parent | ae86df12af6c00ea74659375b758178cc2d73311 (diff) | |
download | Nim-7364794fedcf8ee20ca5a55f58c14c76dfa31723.tar.gz |
Grammar fixes
Diffstat (limited to 'lib/pure/collections')
-rw-r--r-- | lib/pure/collections/sequtils.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim index 20a0f77cb..ea2c02b8c 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -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>`_ @@ -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>`_ @@ -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>`_ @@ -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>`_ |