Skip to content

Commit

Permalink
Fix the command verb being sent to redis for zremrangebyrank (redis-r…
Browse files Browse the repository at this point in the history
…s#240)

Fix the command verb being sent to redis for zremrangebyrank
  • Loading branch information
badboy committed Dec 30, 2019
2 parents c0f3b8e + 3318c03 commit 550a0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.rs
Expand Up @@ -670,7 +670,7 @@ implement_commands! {

/// Remove all members in a sorted set within the given indexes.
fn zrembyrank<K: ToRedisArgs>(key: K, start: isize, stop: isize) {
cmd("ZREMBYRANK").arg(key).arg(start).arg(stop)
cmd("ZREMRANGEBYRANK").arg(key).arg(start).arg(stop)
}

/// Remove all members in a sorted set within the given scores.
Expand Down

0 comments on commit 550a0b1

Please sign in to comment.