From b5e0d756e4d66b0249b0a1709a7860af415a2107 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 17 Dec 2020 21:47:43 +1100 Subject: [PATCH] docs: fix simple typo, requsted -> requested There is a small typo in struct/t_set.c. Should read `requested` rather than `requsted`. --- struct/t_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/struct/t_set.c b/struct/t_set.c index 3b862dc..89f4996 100644 --- a/struct/t_set.c +++ b/struct/t_set.c @@ -482,7 +482,7 @@ void srandmemberWithCountCommand(redisClient *c) { * In this case we create a set from scratch with all the elements, and * subtract random elements to reach the requested number of elements. * - * This is done because if the number of requsted elements is just + * This is done because if the number of requested elements is just * a bit less than the number of elements in the set, the natural approach * used into CASE 3 is highly inefficient. */ if (count*SRANDMEMBER_SUB_STRATEGY_MUL > size) {