From a59ad936a24d98a2b20d36ee09912a781d5cc4f0 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 16 Nov 2023 13:35:27 +0100 Subject: [PATCH] use unimplemented!() --- Code/itf/tests/votekeeper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/itf/tests/votekeeper.rs b/Code/itf/tests/votekeeper.rs index d89cd2208..5b7bc6498 100644 --- a/Code/itf/tests/votekeeper.rs +++ b/Code/itf/tests/votekeeper.rs @@ -29,7 +29,7 @@ fn value_from_model(value: ItfValue) -> Option { "val1" => Some(1.into()), "val2" => Some(2.into()), "val3" => Some(3.into()), - _ => None, + _ => unimplemented!("unknown value {value:?}"), } }