diff --git a/src/redisvalue.rs b/src/redisvalue.rs index 14970206..4a737a04 100644 --- a/src/redisvalue.rs +++ b/src/redisvalue.rs @@ -106,6 +106,12 @@ impl From for RedisValue { } } +impl From for RedisValue { + fn from(b: bool) -> Self { + Self::Bool(b) + } +} + impl From for RedisValue { fn from(i: usize) -> Self { (i as i64).into()