Fix clippy warnings

This commit is contained in:
Stephen Seo 2022-10-30 14:05:04 +09:00
parent 1161ab18e1
commit ce45a40df5

View file

@ -1,7 +1,7 @@
use std::fmt::Display;
use structopt::clap::arg_enum;
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum LogState {
Error,
Warning,
@ -10,7 +10,7 @@ pub enum LogState {
}
arg_enum! {
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum LogLevel {
Error,
Warning,