refact: misc warning squashing

This commit is contained in:
meeg_leeto 2022-05-13 17:20:33 +01:00
parent 364e5e8038
commit c60dcce63c
1 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,4 @@
use argh::FromArgs; use argh::FromArgs;
use core::panic;
use validators::traits::ValidateString; use validators::traits::ValidateString;
use warp::{http::Response, hyper::StatusCode, Filter}; use warp::{http::Response, hyper::StatusCode, Filter};
@ -918,11 +917,7 @@ mod service {
pub mod log { pub mod log {
use std::path::PathBuf; use std::path::PathBuf;
use tokio::{ use tokio::{fs::OpenOptions, io::AsyncWriteExt, sync};
fs::OpenOptions,
io::{AsyncWriteExt, BufWriter},
sync,
};
/// A struct responsible for logging events, per messages received from /// A struct responsible for logging events, per messages received from
/// other processes. /// other processes.