From bcc4be2d63b9981a554da5f39baa0fb2bbe46085 Mon Sep 17 00:00:00 2001 From: estlop Date: Wed, 29 Jun 2022 10:06:05 +0100 Subject: [PATCH] Specify what to do when the slice is empty --- subjects/popint/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/popint/README.md b/subjects/popint/README.md index 9f5f4369b..fd5c03daa 100644 --- a/subjects/popint/README.md +++ b/subjects/popint/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a function that receives a slice of int and returns a new slice without the last element. +Write a function that receives a slice of int and returns a new slice without the last element. If the slice is empty return an empty slice. ### Expected function