remove id3 dep; malvim qol

some clippy cleanup
This commit is contained in:
stjet
2026-09-26 05:50:37 +00:00
parent 9f7ef7c14d
commit 2786865591
12 changed files with 59 additions and 33 deletions

View File

@@ -289,11 +289,7 @@ impl Serializable for DrawInstructions {
"N" => None,
_ => {
if arg.len() > 1 {
if let Ok(n) = arg[1..].parse() {
Some(n)
} else {
None
}
arg[1..].parse().ok()
} else {
None
}
@@ -308,11 +304,7 @@ impl Serializable for DrawInstructions {
"N" => None,
_ => {
if arg.len() > 1 {
if let Ok(n) = arg[1..].parse() {
Some(n)
} else {
None
}
arg[1..].parse().ok()
} else {
None
}