From ca9d2b44dfa7e62a0c6b08717200ab909de74df5 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Thu, 21 Mar 2024 11:51:55 +0000 Subject: [PATCH] node: fix clippy suggestion on borrowing Remove the borrow of `rid` to fix the clippy warning. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- radicle-node/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-node/src/tests.rs b/radicle-node/src/tests.rs index 564180e2..67bda548 100644 --- a/radicle-node/src/tests.rs +++ b/radicle-node/src/tests.rs @@ -747,7 +747,7 @@ fn test_refs_announcement_fetch_trusted_no_inventory() { let bob_inv = bob.storage().inventory().unwrap(); let rid = bob_inv.first().unwrap(); - alice.seed(&rid, policy::Scope::Followed).unwrap(); + alice.seed(rid, policy::Scope::Followed).unwrap(); alice.connect_to(&bob); // Alice receives Bob's refs.