[No-auto] lib/entry/category: 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 10:25:11 +02:00 committed by Matthias Beyer
parent 2e7706af99
commit db40175840

View file

@ -201,7 +201,7 @@ mod tests {
match header_field {
Some(ref s) => assert_eq!(category_name, s),
None => assert!(false, "Header field not present"),
None => panic!("Header field not present"),
}
}
}