From 7364794fedcf8ee20ca5a55f58c14c76dfa31723 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Fri, 30 Oct 2020 16:00:37 +0100 Subject: Grammar fixes --- lib/pure/collections/sequtils.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/pure/collections') 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`_ @@ -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`_ @@ -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`_ @@ -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`_ -- cgit 1.4.1-2-gfad0