Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit 089274d

Browse files
committed
remove explict usize from deleted
1 parent cc69f10 commit 089274d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn json_del(ctx: &Context, args: Vec<String>) -> RedisResult {
2323
let path = args.next_string()?;
2424

2525
let key = ctx.open_key_writable(&key);
26-
let deleted : usize = match key.get_value::<RedisJSON>(&REDIS_JSON_TYPE)? {
26+
let deleted = match key.get_value::<RedisJSON>(&REDIS_JSON_TYPE)? {
2727
Some(doc) => doc.delete_path(&path)?,
2828
None => 0
2929
};

0 commit comments

Comments
 (0)