node: fix clippy suggestion on borrowing

Remove the borrow of `rid` to fix the clippy warning.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny 2024-03-21 11:51:55 +00:00 committed by cloudhead
parent 6288dd0a24
commit ca9d2b44df
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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.