Fix: variable does not need to be mutable

This commit is contained in:
Matthias Beyer 2015-11-27 16:49:25 +01:00
parent fe0ef09417
commit c8231e5c31

View file

@ -21,7 +21,7 @@ mod storage;
fn main() { fn main() {
let yaml = load_yaml!("../etc/cli.yml"); let yaml = load_yaml!("../etc/cli.yml");
let app = App::from_yaml(yaml); let app = App::from_yaml(yaml);
let mut config = CliConfig::new(app); let config = CliConfig::new(app);
let configuration = Configuration::new(&config); let configuration = Configuration::new(&config);
let logger = ImagLogger::init(&configuration, &config); let logger = ImagLogger::init(&configuration, &config);