Run cargo fmt

This commit is contained in:
Dheepak Krishnamurthy 2020-10-22 21:52:36 -06:00
parent a6ab282442
commit b41f323096

View file

@ -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![];