From a57c06bb546d3a6fdfbd5d3b4b8cbee9bfa1b336 Mon Sep 17 00:00:00 2001 From: ZYunH Date: Mon, 16 Dec 2019 22:28:46 +0800 Subject: [PATCH] fix-zset-typo --- src/t_zset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_zset.c b/src/t_zset.c index ea6f4b848..4a5a36a7e 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -244,7 +244,7 @@ int zslDelete(zskiplist *zsl, double score, sds ele, zskiplistNode **node) { return 0; /* not found */ } -/* Update the score of an elmenent inside the sorted set skiplist. +/* Update the score of an element inside the sorted set skiplist. * Note that the element must exist and must match 'score'. * This function does not update the score in the hash table side, the * caller should take care of it.