From a8436d299a7c787bc1fd89d5696394a56f0c6149 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 10 Oct 2019 22:26:36 -0400 Subject: Fix example in docs for coll.Uniq Signed-off-by: Dave Henderson --- docs-src/content/functions/coll.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs-src') diff --git a/docs-src/content/functions/coll.yml b/docs-src/content/functions/coll.yml index ff548b0c..62d3cbcc 100644 --- a/docs-src/content/functions/coll.yml +++ b/docs-src/content/functions/coll.yml @@ -191,8 +191,6 @@ funcs: Remove any duplicate values from the list, without changing order. _Note that this function does not change the given list; it always produces a new one._ - - See also [`coll.Append`](#coll-append). pipeline: true arguments: - name: list @@ -200,8 +198,8 @@ funcs: description: the input list examples: - | - $ gomplate -i '{{ slice 4 3 2 1 | prepend 5 }}' - [5 4 3 2 1] + $ gomplate -i '{{ slice 1 2 3 2 3 4 1 5 | uniq }}' + [1 2 3 4 5] - name: coll.Reverse alias: reverse description: | -- cgit v1.2.3