From ba1a1fed365f6c8b0dcc65f7b3599c6857775783 Mon Sep 17 00:00:00 2001 From: Vitaliy Velikodniy Date: Sun, 24 Nov 2024 22:31:20 +0200 Subject: [PATCH] panic warning fix for 2021 edition --- tests/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib.rs b/tests/lib.rs index b796443..b52c4a7 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -46,7 +46,7 @@ mod tests { }; match sm_motion.find_video_index() { - Err(e) => panic!(e), + Err(e) => panic!("{}", e), _result => {} }; @@ -64,7 +64,7 @@ mod tests { }; match sm_motion.find_video_index() { - Err(e) => panic!(e), + Err(e) => panic!("{}", e), _result => {} };