chore: restore a green make check on main

- output.rs: the read_lints test helper (#398) builds ToolCall without
  the argument_error field added in d83e14a, so the lib-test target
  does not compile
- connect_wire.rs: cursor::router takes NetworkClients since 2dad593
- runtime.rs: clippy::nonminimal_bool from 5cdf642
- update/mod.rs: clippy::needless_return in the Windows arm, ddaa61c
This commit is contained in:
kevin9327 committed 2026-09-03 07:55:51 +09:00
1 parent 8fdcdd7f84
commit e4b5e132d6
4 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -172,9 +172,9 @@ impl ConversationRuntime {
break;
}
TransportCommand::RunFinished { generation, finish } => {
if !current
if current
.as_ref()
.is_some_and(|current| current.id == generation)
.is_none_or(|current| current.id != generation)
{
continue;
}
@@ -459,6 +459,7 @@ mod tests {
name: "ReadLints".into(),
arguments_text: String::new(),
arguments: json!({ "paths": paths }),
argument_error: None,
}
}