Removed compiler warnings

This commit is contained in:
2021-12-21 12:10:36 +01:00
parent 73c24e457a
commit 90da7b4999
7 changed files with 12 additions and 28 deletions

View File

@ -1,9 +1,9 @@
use log::{info, Metadata, Record};
use log::{Metadata, Record};
pub struct Logger;
impl log::Log for Logger {
fn enabled(&self, metadata: &Metadata) -> bool {
fn enabled(&self, _metadata: &Metadata) -> bool {
true
}
@ -13,7 +13,5 @@ impl log::Log for Logger {
}
}
fn flush(&self) {
todo!()
}
fn flush(&self) {}
}