style: cargo fmt — clear formatting drift blocking the release gate

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
archipelago
2026-07-29 05:53:33 -04:00
co-authored by Claude Fable 5
parent 8e51164321
commit 5c19effdd1
11 changed files with 92 additions and 124 deletions
+1 -2
View File
@@ -198,8 +198,7 @@ impl RpcHandler {
.and_then(|v| v.as_array())
.and_then(|arr| {
arr.iter().find(|p| {
p.get("payment_hash").and_then(|v| v.as_str())
== Some(hash_lower.as_str())
p.get("payment_hash").and_then(|v| v.as_str()) == Some(hash_lower.as_str())
})
});
+3 -1
View File
@@ -9,7 +9,9 @@ fn parse_family(s: &str) -> Result<DeviceType> {
"meshcore" => Ok(DeviceType::Meshcore),
"meshtastic" => Ok(DeviceType::Meshtastic),
"reticulum" | "rnode" => Ok(DeviceType::Reticulum),
other => anyhow::bail!("Unknown firmware family: {other} (expected meshcore|meshtastic|reticulum)"),
other => anyhow::bail!(
"Unknown firmware family: {other} (expected meshcore|meshtastic|reticulum)"
),
}
}