From 36957917b2ff8bef7af2482669e6c6b43ca2ef96 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Tue, 27 Aug 2019 11:50:41 +0200 Subject: [PATCH] [No-auto] lib/entry/datetime: Fix Clippy warnings Signed-off-by: flip1995 Signed-off-by: Matthias Beyer --- lib/entry/libimagentrydatetime/src/datetime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entry/libimagentrydatetime/src/datetime.rs b/lib/entry/libimagentrydatetime/src/datetime.rs index 3ca59d1e..8c7555b7 100644 --- a/lib/entry/libimagentrydatetime/src/datetime.rs +++ b/lib/entry/libimagentrydatetime/src/datetime.rs @@ -255,7 +255,7 @@ mod tests { match *hdr_field { Value::String(ref s) => assert_eq!("2000-01-02T03:04:05", s), - _ => assert!(false, "Wrong header type"), + _ => panic!("Wrong header type"), } }