mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Autoformat code
This commit is contained in:
parent
03b5cdb7ca
commit
9c2e296484
5 changed files with 19 additions and 21 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue