diff options
author | Canop <cano.petrole@gmail.com> | 2020-01-20 22:11:38 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-01-20 22:11:38 +0100 |
commit | ec5220711e02c63a4832f984ae788958b3133d18 (patch) | |
tree | 822dacfb3a6c34809291bbd37cac5c958691dc31 /src/skin_conf.rs | |
parent | 7ccda47e5044ec2b56b1b6deb4ecdd82eacae9ff (diff) |
minor code fmt changes
Diffstat (limited to 'src/skin_conf.rs')
-rw-r--r-- | src/skin_conf.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/skin_conf.rs b/src/skin_conf.rs index 01a24e4..b11161f 100644 --- a/src/skin_conf.rs +++ b/src/skin_conf.rs @@ -114,11 +114,7 @@ pub fn parse_object_style(s: &str) -> Result<CompoundStyle, InvalidSkinError> { let fg_color = parse_color(c.name("fg").unwrap().as_str())?; let bg_color = parse_color(c.name("bg").unwrap().as_str())?; let attrs = parse_attributes(c.name("attributes").unwrap().as_str())?; - Ok(CompoundStyle::new( - fg_color, - bg_color, - attrs, - )) + Ok(CompoundStyle::new(fg_color, bg_color, attrs)) } else { debug!("NO match for {:?}", s); Err(InvalidSkinError::InvalidStyle { |