mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +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?;
|
let line = line_read?;
|
||||||
match determine_action_kind(&line) {
|
match determine_action_kind(&line) {
|
||||||
ActionKind::Attr => {
|
ActionKind::Attr => {
|
||||||
let attr = parse_attr_action(String::from(line))?;
|
m.attributes.push(parse_attr_action(String::from(line))?);
|
||||||
m.attributes.push(attr)
|
|
||||||
}
|
}
|
||||||
ActionKind::Dir => {
|
ActionKind::Dir => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue