style: cargo fmt — clear formatting drift blocking the release gate
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
8e51164321
commit
5c19effdd1
@@ -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())
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
@@ -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)"
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user