fix clippy warnings in scene and host paths

This commit is contained in:
2026-04-24 15:47:53 +01:00
parent 92be3b90fb
commit 0c8de434cf
5 changed files with 69 additions and 70 deletions
@@ -782,10 +782,10 @@ mod tests {
break;
}
if let Ok(resp) = serde_json::from_str::<serde_json::Value>(&line) {
if resp["type"] == "getState" {
return;
}
if let Ok(resp) = serde_json::from_str::<serde_json::Value>(&line)
&& resp["type"] == "getState"
{
return;
}
}
panic!("Did not receive getState response");