Skip to content

Commit

Permalink
panic warning fix for 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ddest committed Nov 24, 2024
1 parent b94822f commit ba1a1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod tests {
};

match sm_motion.find_video_index() {
Err(e) => panic!(e),
Err(e) => panic!("{}", e),
_result => {}
};

Expand All @@ -64,7 +64,7 @@ mod tests {
};

match sm_motion.find_video_index() {
Err(e) => panic!(e),
Err(e) => panic!("{}", e),
_result => {}
};

Expand Down

0 comments on commit ba1a1fe

Please sign in to comment.