diff --git a/crates/server/src/rpc.rs b/crates/server/src/rpc.rs index 54440bbd56..96949d05ff 100644 --- a/crates/server/src/rpc.rs +++ b/crates/server/src/rpc.rs @@ -2233,7 +2233,7 @@ mod tests { .await; worktree_a - .condition(&cx_a, |worktree, cx| { + .condition(&cx_a, |worktree, _| { worktree.collaborators().contains_key(&client_b.peer_id) }) .await;