Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
agusaldasoro committed Sep 5, 2023
1 parent 7cf1f09 commit 88713db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Redis {
None => false,
Some(mut conn) => {
let result: RedisResult<String> = cmd("PING").query_async(&mut conn).await;
matches!(result, Ok(_))
result.is_ok()
}
}
}
Expand Down

0 comments on commit 88713db

Please sign in to comment.