Autoformat code

This commit is contained in:
Dheepak Krishnamurthy 2020-10-27 15:04:29 -06:00
parent 03b5cdb7ca
commit 9c2e296484
5 changed files with 19 additions and 21 deletions

View file

@ -270,7 +270,11 @@ impl TConfig {
if line.starts_with(config) {
return line.trim_start_matches(config).trim_start().trim_end().to_string();
} else if line.starts_with(&config.replace('-', "_")) {
return line.trim_start_matches(&config.replace('-', "_")).trim_start().trim_end().to_string();
return line
.trim_start_matches(&config.replace('-', "_"))
.trim_start()
.trim_end()
.to_string();
}
}
"".to_string()