]> git.lizzy.rs Git - rust.git/commitdiff
Fix indentation in create_config macro definition
authorDavid Lukes <dafydd.lukes@gmail.com>
Mon, 26 Feb 2018 14:50:33 +0000 (15:50 +0100)
committerDavid Lukes <dafydd.lukes@gmail.com>
Mon, 5 Mar 2018 12:18:27 +0000 (13:18 +0100)
src/config/config_type.rs

index 8b9a6b2d84dc3f7407e8fd2502bbe6f67aeb7dc9..4c2e4c3d5bb6d5901624e188554feb939bed72c2 100644 (file)
@@ -398,21 +398,21 @@ fn set_license_template(&mut self) {
                         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 @@ fn set_license_template(&mut self) {
                         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;
                         }
                     }