From 7d693b518b7333c8f152d7171b94bd48f8427ac4 Mon Sep 17 00:00:00 2001 From: Augusto Date: Tue, 8 Jun 2021 12:09:09 +0100 Subject: [PATCH] Add link to the explanation of `zero values` in go` --- subjects/compact/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/compact/README.md b/subjects/compact/README.md index 709d5c72..2a3470be 100644 --- a/subjects/compact/README.md +++ b/subjects/compact/README.md @@ -2,10 +2,10 @@ ### Instructions -Write a function `Compact` that takes a pointer to a slice of `string` as the argument. +Write a function `Compact` that takes a pointer to a slice of `string`s as the argument. This function must: -- Return the number of elements with non-zero value. +- Return the number of elements with [non-zero value](https://tour.golang.org/basics/12). - Compact, i.e., delete the elements with zero-values in the slice.