refactoring

This commit is contained in:
Simon Gardling
2022-04-21 23:25:33 -04:00
parent 06b062b5b4
commit 5d153f4842
14 changed files with 166 additions and 271 deletions

View File

@@ -189,7 +189,7 @@ pub struct JsonFileOutput {
pub help_function: String,
pub help_other: String,
pub license_info: String,
pub welcome_text: String,
pub welcome: String,
}
/// Helps parsing text data from `text.json`
@@ -228,7 +228,7 @@ impl SerdeValueHelper {
help_function: self.parse_multiline("help_function"),
help_other: self.parse_multiline("help_other"),
license_info: self.parse_singleline("license_info"),
welcome_text: self.parse_multiline("welcome"),
welcome: self.parse_multiline("welcome"),
}
}
}