mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
impl Copy for LogLevel, remove some cloning
This commit is contained in:
parent
0637f83daa
commit
2d3761fee2
3 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ use serde::{Serialize, Deserialize, de::DeserializeOwned};
|
|||
use simplelog::{ConfigBuilder, LevelFilter, TermLogger, TerminalMode};
|
||||
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum LogLevel {
|
||||
Off,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue