From b33451b4ede7f1114641928a06bb908551613637 Mon Sep 17 00:00:00 2001 From: David Lukes Date: Mon, 26 Feb 2018 15:50:33 +0100 Subject: [PATCH] Fix indentation in create_config macro definition --- src/config/config_type.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/config_type.rs b/src/config/config_type.rs index 8b9a6b2d84d..4c2e4c3d5bb 100644 --- a/src/config/config_type.rs +++ b/src/config/config_type.rs @@ -398,21 +398,21 @@ macro_rules! create_config { Ok(file) => file, Err(e) => { eprintln!("Warning: unable to open license template file {:?}: {}", - license_template_path, e); + license_template_path, e); return; } }; let mut license_template_str = String::new(); if let Err(e) = license_template_file.read_to_string(&mut license_template_str) { eprintln!("Warning: unable to read from license template file {:?}: {}", - license_template_path, e); + license_template_path, e); return; }; let license_template_parsed = match TemplateParser::parse(&license_template_str) { Ok(string) => string, Err(e) => { eprintln!("Warning: unable to parse license template file {:?}: {}", - license_template_path, e); + license_template_path, e); return; } }; @@ -420,7 +420,7 @@ macro_rules! create_config { Ok(re) => Some(re), Err(e) => { eprintln!("Warning: regex syntax error in placeholder, unable to compile \ - license template from file {:?}: {}", license_template_path, e); + license template from file {:?}: {}", license_template_path, e); return; } }