Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node: fix clippy suggestion on borrowing
Merged fintohaps opened 2 years ago

Remove the borrow of rid to fix the clippy warning.

1 file changed +1 -1 ea31040e ea31040e
modified 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.