From 748b1ba6022e77146ca4debd53d1ffa54a7766fa Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 30 Nov 2021 12:27:00 -0700 Subject: [PATCH] Fix warning Co-Authored-By: Max Brunsfeld --- crates/server/src/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;