impl Copy for LogLevel, remove some cloning

This commit is contained in:
Joakim Frostegård 2020-08-09 00:27:05 +02:00
parent 0637f83daa
commit 2d3761fee2
3 changed files with 3 additions and 3 deletions

View file

@ -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)
}
}