Simplify statements

This commit is contained in:
Till Wegmueller 2020-05-19 00:01:44 +02:00
parent eafbb834a5
commit 4486b05c81

View file

@ -80,8 +80,7 @@ pub fn parse_manifest_file(filename: String) -> Result<Manifest, Error> {
let line = line_read?;
match determine_action_kind(&line) {
ActionKind::Attr => {
let attr = parse_attr_action(String::from(line))?;
m.attributes.push(attr)
m.attributes.push(parse_attr_action(String::from(line))?);
}
ActionKind::Dir => {