Clippy pedantic fixes

This commit is contained in:
2024-09-22 02:16:18 +03:00
parent 387a5eaf4a
commit f7008e882c
22 changed files with 162 additions and 275 deletions

View File

@@ -1,7 +1,7 @@
use log::LevelFilter;
pub fn init_logger(debug: bool) {
pub fn init(debug: bool) {
let level = if debug {
LevelFilter::Debug
} else {
@@ -11,4 +11,4 @@ pub fn init_logger(debug: bool) {
.format_timestamp(None)
.filter_level(level)
.init();
}
}