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
|
|
@ -23,7 +23,7 @@ pub struct Config {
|
|||
|
||||
impl aquatic_cli_helpers::Config for Config {
|
||||
fn get_log_level(&self) -> Option<LogLevel>{
|
||||
Some(self.log_level.clone())
|
||||
Some(self.log_level)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue