From c25d9775980d4f7474061a7cea4d017e9d4f63ef Mon Sep 17 00:00:00 2001 From: Marc Planard Date: Sun, 4 Jun 2023 11:32:11 +0200 Subject: [PATCH] change a panic\! for an unreachable\! --- src/redis_ctrl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis_ctrl.rs b/src/redis_ctrl.rs index ff60f80..d8a27dd 100644 --- a/src/redis_ctrl.rs +++ b/src/redis_ctrl.rs @@ -39,7 +39,7 @@ impl TryFrom for Order { 6 => Intensity, 7 => Kpps, 8 => ColorBalance, - _ => panic!("Can't be there") + _ => unreachable!() }) } }