mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +02:00
Run cargo fmt
This commit is contained in:
parent
a6ab282442
commit
b41f323096
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ impl TConfig {
|
|||
}
|
||||
|
||||
fn get_tcolor(line: &str) -> TColor {
|
||||
let (foreground, background) = line.split_at(line.to_lowercase().find("on ").unwrap_or_else( || line.len()));
|
||||
let (foreground, background) = line.split_at(line.to_lowercase().find("on ").unwrap_or_else(|| line.len()));
|
||||
let (mut foreground, mut background) = (String::from(foreground), String::from(background));
|
||||
background = background.replace("on ", "");
|
||||
let mut modifiers = vec![];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue