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

Commit 0a72e7d

Browse files
committed
fix code review
1 parent 82f7c7c commit 0a72e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/redisjson.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ impl RedisJSON {
6868
pub fn get_type(&self, path: &str) -> Result<String, Error> {
6969
let s = match self.get_doc(path)? {
7070
Some(doc) => {
71-
match *doc {
72-
Value::Null => "Null",
71+
match doc {
72+
Value::Null => "null",
7373
Value::Bool(_) => "boolean",
7474
Value::Number(_) => "number",
7575
Value::String(_) => "string",

0 commit comments

Comments
 (0)