Apply Clippy recommendations

This commit is contained in:
Nils Andreas Svee committed 2022-10-15 14:58:05 +02:00
1 parent 34b3fc0850
commit cacc5b1a6b
11 files changed
+82 -105

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ const LOG_DATETIME_FORMAT: &[FormatItem] = format_description!(
#[derive(Clone, Copy)]
pub struct SimpleLogger {
pub level: log::Level,
pub level: Level,
}
fn time_format<T>(dt: T, format: &(impl Formattable + ?Sized)) -> String