From 578a29db40c8935343a97b92905c97293b4b249a Mon Sep 17 00:00:00 2001 From: Hieu Do <33567997+minhhieu76qng@users.noreply.github.com> Date: Wed, 7 Feb 2024 21:47:43 +0700 Subject: [PATCH] Fix sorted set leaderboard typo (#2656) --- docs/data-types/sorted-sets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data-types/sorted-sets.md b/docs/data-types/sorted-sets.md index 4a03f445b2..9351e2a09c 100644 --- a/docs/data-types/sorted-sets.md +++ b/docs/data-types/sorted-sets.md @@ -203,7 +203,7 @@ the #4932 best score here"). ## Examples -* There are two ways we can use a sorted set to represent a leaderbaord. If we know a racer's new score, we can update it directly via the `ZADD` command. However, if we want to add points to an existing score, we can use the `ZINCRBY` command. +* There are two ways we can use a sorted set to represent a leaderboard. If we know a racer's new score, we can update it directly via the `ZADD` command. However, if we want to add points to an existing score, we can use the `ZINCRBY` command. {{< clients-example ss_tutorial leaderboard >}} > ZADD racer_scores 100 "Wood" (integer) 1