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:
parent
6288dd0a24
commit
ca9d2b44df
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue