[No-auto] lib/entry/datetime: Fix Clippy warnings

Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
flip1995 2019-08-27 11:50:41 +02:00 committed by Matthias Beyer
parent db40175840
commit 36957917b2

View file

@ -255,7 +255,7 @@ mod tests {
match *hdr_field { match *hdr_field {
Value::String(ref s) => assert_eq!("2000-01-02T03:04:05", s), Value::String(ref s) => assert_eq!("2000-01-02T03:04:05", s),
_ => assert!(false, "Wrong header type"), _ => panic!("Wrong header type"),
} }
} }