mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 13:20:42 +00:00
Simplify statements
This commit is contained in:
parent
eafbb834a5
commit
4486b05c81
1 changed files with 1 additions and 2 deletions
|
|
@ -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 => {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue